/* HFU Design Tokens v1 */
:root {
  --red: #c51f36;
  --red-dark: #98172a;
  --red-soft: #f9e9ec;
  --ink: #21171a;
  --ink-2: #463a3e;
  --muted: #685d61;
  --line: #d9d1d3;
  --surface: #f6f3f2;
  --white: #fff;
  --panel: #542c38;
  --panel-deep: #43252e;
  --focus: #006d65;
  --tech: #67283a;
  --info: #183e57;
  --business: #385240;
  --shadow: 0 18px 50px rgba(33, 23, 26, .11);
  --radius: 1.25rem;
  --container: 78rem;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
a { color: var(--red-dark); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: .14em; }
:focus-visible { outline: .2rem solid var(--focus); outline-offset: .2rem; }
h1, h2, h3 { margin: 0 0 .7em; overflow-wrap: anywhere; font-weight: 780; line-height: 1.08; letter-spacing: -.035em; }
h1 { font-size: clamp(2.65rem, 6vw, 5.75rem); }
h2 { font-size: clamp(2rem, 4vw, 3.6rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.65rem); }
p { margin: 0 0 1.25rem; }
address { font-style: normal; }
code { border-radius: .3rem; background: var(--surface); padding: .1em .35em; font-size: .92em; }
.container { width: min(calc(100% - 2.5rem), var(--container)); margin-inline: auto; }
.container.narrow { max-width: 58rem; }
.section { padding: clamp(4.5rem, 8vw, 8rem) 0; }
.section-tight { padding-top: clamp(2rem, 4vw, 4rem); }
.section-soft { background: var(--surface); }
.small { color: var(--muted); font-size: .875rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.skip-link { position: fixed; z-index: 9999; top: .5rem; left: .5rem; transform: translateY(-180%); padding: .8rem 1rem; color: var(--white); background: var(--ink); }
.skip-link:focus { transform: translateY(0); }
.eyebrow { margin-bottom: .8rem; color: var(--red-dark); font-size: .78rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.lead { max-width: 52rem; font-size: clamp(1.17rem, 2vw, 1.45rem); line-height: 1.55; }
.lead-small { font-size: clamp(1.08rem, 2vw, 1.3rem); }
.section-heading { max-width: 52rem; margin-bottom: clamp(2rem, 5vw, 4rem); }
.section-heading > p:last-child { color: var(--muted); font-size: 1.1rem; }

.site-header { position: sticky; z-index: 100; top: 0; border-bottom: 1px solid rgba(217, 209, 211, .8); background: rgba(255, 255, 255, .96); backdrop-filter: blur(1rem); }
.header-inner { display: flex; min-height: 5.6rem; align-items: center; gap: 2rem; }
.brand { flex: 0 0 12.5rem; }
.brand img { width: 12.5rem; height: auto; }
.main-nav { display: flex; flex: 1; align-items: center; justify-content: space-between; gap: 1rem; }
.main-nav ul { display: flex; margin: 0; padding: 0; align-items: center; gap: clamp(.65rem, 1.5vw, 1.5rem); list-style: none; }
.main-nav ul a { position: relative; display: block; padding: 1.8rem .2rem; color: var(--ink); font-size: .95rem; font-weight: 700; text-decoration: none; }
.main-nav ul a::after { position: absolute; right: .2rem; bottom: 1.25rem; left: .2rem; height: .18rem; transform: scaleX(0); transform-origin: left; background: var(--red); content: ""; transition: transform .2s ease; }
.main-nav ul a:hover::after, .main-nav ul a[aria-current="page"]::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 1rem; }
.text-link { color: var(--ink); font-size: .92rem; font-weight: 750; }
.menu-button { display: none; min-height: 2.8rem; border: 0; background: transparent; color: var(--ink); font-weight: 750; }
.menu-lines, .menu-lines::before, .menu-lines::after { display: block; width: 1.35rem; height: .13rem; border-radius: 1rem; background: currentColor; content: ""; transition: transform .2s ease; }
.menu-lines { position: relative; margin-right: .55rem; }
.menu-lines::before { position: absolute; top: -.42rem; }
.menu-lines::after { position: absolute; top: .42rem; }
.menu-button[aria-expanded="true"] .menu-lines { background: transparent; }
.menu-button[aria-expanded="true"] .menu-lines::before { top: 0; transform: rotate(45deg); }
.menu-button[aria-expanded="true"] .menu-lines::after { top: 0; transform: rotate(-45deg); }

.button { display: inline-flex; min-height: 3.15rem; padding: .75rem 1.25rem; border: 2px solid var(--red); border-radius: 999rem; align-items: center; justify-content: center; gap: .55rem; color: var(--white); background: var(--red); font-weight: 780; line-height: 1.2; text-align: center; text-decoration: none; transition: background-color .18s ease, border-color .18s ease, transform .18s ease; }
.button:hover { border-color: var(--red-dark); background: var(--red-dark); text-decoration: none; transform: translateY(-1px); }
.button-small { min-height: 2.65rem; padding: .55rem 1rem; font-size: .9rem; }
.button-ghost { border-color: rgba(255,255,255,.75); color: var(--white); background: transparent; }
.button-ghost:hover { border-color: var(--white); color: var(--ink); background: var(--white); }
.button-ghost-dark { border-color: var(--ink); color: var(--ink); background: transparent; }
.button-ghost-dark:hover { border-color: var(--ink); color: var(--white); background: var(--ink); }
.button-dark { border-color: var(--ink); background: var(--ink); }
.button-light { border-color: var(--white); color: var(--ink); background: var(--white); }
.button-row { display: flex; margin-top: 2rem; flex-wrap: wrap; align-items: center; gap: .8rem; }
.arrow-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 800; }
.arrow-link svg { width: 1.15rem; transition: transform .18s ease; }
.arrow-link:hover svg { transform: translateX(.25rem); }
.text-link-on-dark { padding: .75rem .2rem; color: var(--white); font-weight: 750; }
.external-link::after { content: " ↗"; }

.hero, .page-hero { overflow: hidden; color: var(--white); background: linear-gradient(135deg, #713247 0%, var(--panel) 48%, var(--panel-deep) 100%); }
.home-hero { min-height: calc(100vh - 5.6rem); display: grid; align-items: center; }
.hero-grid { display: grid; padding-block: clamp(4rem, 8vw, 7.5rem); grid-template-columns: minmax(0, 1.15fr) minmax(20rem, .85fr); align-items: center; gap: clamp(3rem, 8vw, 7rem); }
.hero-copy h1 span { display: block; color: #ff9ba9; }
.hero-copy .eyebrow, .page-hero .eyebrow, .offer-hero .eyebrow { color: #ffb7c2; }
.trust-list { display: flex; margin: 2.3rem 0 0; padding: 0; flex-wrap: wrap; gap: .8rem 1.35rem; list-style: none; font-size: .9rem; font-weight: 700; }
.trust-list li::before { margin-right: .45rem; color: #ff9baa; content: "●"; }
.hero-visual { position: relative; min-height: 33rem; border-radius: 50% 50% 2rem 50%; background: radial-gradient(circle at 65% 30%, #ef6679, #b72842 34%, #713247 35%, #4a2933 63%, #3d252c 100%); }
.orbit { position: absolute; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; }
.orbit-one { inset: 9%; }
.orbit-two { inset: 24%; }
.compass-rose { position: absolute; inset: 33%; display: grid; transform: rotate(-12deg); border: .16rem solid var(--white); place-items: center; }
.compass-rose::before { position: absolute; width: 145%; height: 18%; transform: rotate(45deg); background: rgba(255,255,255,.92); clip-path: polygon(0 50%, 45% 0, 100% 50%, 45% 100%); content: ""; }
.compass-rose::after { position: absolute; width: 18%; height: 145%; transform: rotate(45deg); background: var(--red); clip-path: polygon(50% 0, 100% 55%, 50% 100%, 0 55%); content: ""; }
.compass-rose span { z-index: 1; display: grid; width: 5rem; height: 5rem; border-radius: 50%; place-items: center; color: var(--ink); background: var(--white); font-weight: 900; letter-spacing: .05em; }
.route-dot { position: absolute; width: 1rem; height: 1rem; border: .25rem solid var(--white); border-radius: 50%; background: var(--red); }
.dot-one { top: 13%; left: 28%; }.dot-two { right: 8%; bottom: 29%; }.dot-three { bottom: 10%; left: 25%; }
.page-hero { padding: clamp(4.5rem, 8vw, 8rem) 0; }
.page-hero h1 { max-width: 62rem; font-size: clamp(2.7rem, 6vw, 5rem); }
.area-hero.technik { background: var(--tech); }.area-hero.informatik { background: var(--info); }.area-hero.wirtschaft { background: var(--business); }
.offer-hero { padding: clamp(4rem, 7vw, 6.5rem) 0; }
.offer-hero-grid { display: grid; grid-template-columns: 1fr minmax(18rem, .36fr); align-items: end; gap: 3rem; }
.offer-hero h1 { font-size: clamp(2.5rem, 5vw, 4.7rem); }
.offer-meta { display: flex; margin-bottom: 1.2rem; align-items: center; gap: .8rem; font-weight: 700; }
.start-panel { padding: 2rem; border: 1px solid rgba(255,255,255,.32); border-radius: var(--radius); background: rgba(255,255,255,.08); }
.start-value { margin-bottom: .6rem; color: var(--white); font-size: 1.6rem; font-weight: 800; line-height: 1.2; }

.breadcrumbs { padding-block: .85rem; overflow-x: auto; font-size: .86rem; white-space: nowrap; }
.breadcrumbs ol { display: flex; width: max-content; min-width: 100%; margin: 0; padding: 0; align-items: center; list-style: none; }
.breadcrumbs li:not(:last-child)::after { margin: 0 .65rem; color: var(--muted); content: "/"; }
.breadcrumbs li[aria-current="page"] { color: var(--muted); }

.area-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.area-card { position: relative; min-height: 24rem; display: flex; padding: 2rem; overflow: hidden; border-radius: var(--radius); flex-direction: column; color: var(--white); text-decoration: none; }
.area-card::after { position: absolute; right: -3.5rem; bottom: -5rem; width: 13rem; height: 13rem; transform: rotate(25deg); border: 1px solid rgba(255,255,255,.35); border-radius: 50% 0 50% 50%; content: ""; transition: transform .3s ease; }
.area-card:hover::after { transform: translate(-.5rem, -.5rem) rotate(45deg); }
.area-card.technique { background: var(--tech); }.area-card.informatics { background: var(--info); }.area-card.business { background: var(--business); }
.area-card h3 { margin-top: auto; font-size: clamp(2.25rem, 4vw, 3.2rem); }
.area-card > span:last-child { z-index: 1; display: flex; margin-top: 1rem; align-items: center; gap: .4rem; font-weight: 800; }
.area-card svg { width: 1.15rem; }
.area-number { color: rgba(255,255,255,.7); font-size: .85rem; font-weight: 800; letter-spacing: .1em; }

.offer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.offer-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.offer-card { min-width: 0; display: flex; padding: 1.65rem; border: 1px solid var(--line); border-radius: var(--radius); flex-direction: column; background: var(--white); box-shadow: 0 1px 0 rgba(33,23,26,.02); transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease; }
.offer-card:hover { transform: translateY(-.25rem); border-color: #b8aaae; box-shadow: var(--shadow); }
.offer-card-top { display: flex; margin-bottom: 1.2rem; align-items: center; justify-content: space-between; gap: 1rem; }
.tag { display: inline-flex; padding: .32rem .65rem; border-radius: 99rem; color: var(--white); background: var(--red-dark); font-size: .72rem; font-weight: 800; letter-spacing: .03em; }
.area-label { color: var(--muted); font-size: .82rem; font-weight: 750; }
.offer-card h3 { font-size: 1.45rem; }
.offer-card h3 a { color: var(--ink); text-decoration: none; }
.offer-card h3 a::after { position: absolute; inset: 0; content: ""; }
.offer-card { position: relative; }
.offer-card p { color: var(--ink-2); }
.card-facts { margin: auto 0 1.25rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.card-facts div { display: grid; margin-bottom: .45rem; grid-template-columns: 4rem 1fr; gap: .5rem; font-size: .87rem; }
.card-facts dt { color: var(--muted); font-weight: 750; }.card-facts dd { margin: 0; }
.offer-card .arrow-link { position: relative; z-index: 1; font-size: .9rem; }
.section-action { margin-top: 2.4rem; text-align: center; }

.offer-filters { position: sticky; z-index: 20; top: 6.25rem; display: grid; padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius); grid-template-columns: 2fr 1fr 1fr auto; align-items: end; gap: .8rem; background: var(--white); box-shadow: 0 10px 35px rgba(33,23,26,.08); }
.field { display: flex; margin-bottom: 1.15rem; flex-direction: column; gap: .35rem; }
.offer-filters .field { margin-bottom: 0; }
.field label { font-size: .9rem; font-weight: 780; }
.field input, .field select, .field textarea { width: 100%; min-height: 3rem; padding: .7rem .8rem; border: 1px solid #9d9094; border-radius: .55rem; color: var(--ink); background: var(--white); }
.field textarea { min-height: 8rem; resize: vertical; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-width: 2px; border-color: var(--red-dark); }
.filter-status { margin: 1.5rem 0; font-weight: 800; }
.empty-state { padding: 3rem; border-radius: var(--radius); background: var(--surface); text-align: center; }

.split-feature, .partnership-grid, .compass-teaser-grid, .content-grid, .form-layout { display: grid; grid-template-columns: 1.25fr .75fr; align-items: start; gap: clamp(2.5rem, 7vw, 7rem); }
.benefit-list > div { display: grid; padding: 1.3rem 0; border-top: 1px solid var(--line); grid-template-columns: 3rem minmax(10rem, .45fr) 1fr; align-items: baseline; gap: 1rem; }
.benefit-list > div > span { color: var(--red-dark); font-size: .8rem; font-weight: 800; }
.benefit-list h3, .benefit-list p { margin-bottom: 0; }
.event-card { position: sticky; top: 7rem; padding: 2.2rem; border-radius: var(--radius); color: var(--white); background: var(--red-dark); box-shadow: var(--shadow); }
.event-card .eyebrow { color: #ffd1d7; }.event-date { font-size: 2rem; font-weight: 800; line-height: 1.15; }
.partnership { color: var(--white); background: var(--tech); }
.partnership .eyebrow, .partnership a { color: #ffc1ca; }.partnership .section-heading { margin: 0; }
.steps { display: grid; margin: 0; padding: 0; grid-template-columns: repeat(4, 1fr); list-style: none; counter-reset: steps; }
.steps li { min-height: 14rem; padding: 1.6rem; border-top: .25rem solid var(--ink); border-right: 1px solid var(--line); }
.steps li:last-child { border-right: 0; }.steps li > span { display: block; margin-bottom: 3rem; color: var(--red-dark); font-weight: 900; }
.compass-teaser { color: var(--white); background: var(--red-dark); }
.compass-large { display: grid; aspect-ratio: 1; max-width: 22rem; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; place-items: center; background: radial-gradient(circle, rgba(255,255,255,.14) 0 30%, transparent 31%); }
.compass-large svg { width: 55%; height: 55%; }.compass-teaser .eyebrow { color: #ffd0d6; }
.contact-strip { padding: clamp(3.5rem, 6vw, 6rem) 0; background: var(--surface); }
.contact-strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.contact-strip .section-heading { max-width: 48rem; margin-bottom: 0; }.contact-strip .button-row { min-width: max-content; margin-top: 0; }

.fact-grid { display: grid; margin: 0; border-top: 1px solid var(--line); grid-template-columns: repeat(4, 1fr); }
.fact-grid > div { padding: 1.25rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fact-grid > div:nth-child(4n) { border-right: 0; }
.fact-grid dt { margin-bottom: .35rem; color: var(--muted); font-size: .77rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.fact-grid dd { margin: 0; font-weight: 700; }
.data-note { margin-top: 1.25rem; color: var(--muted); font-size: .85rem; }
.content-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.content-grid h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.content-aside { min-width: 0; padding: 2rem; overflow-wrap: anywhere; border-left: .35rem solid var(--red); border-radius: 0 var(--radius) var(--radius) 0; background: var(--white); box-shadow: var(--shadow); }
.check-list { margin: 1.25rem 0; padding: 0; list-style: none; }
.check-list li { position: relative; margin-bottom: .7rem; padding-left: 1.8rem; }
.check-list li::before { position: absolute; top: .15rem; left: 0; color: var(--red-dark); font-weight: 900; content: "✓"; }
.callout { padding: 1rem; border-radius: .7rem; background: var(--red-soft); font-size: .92rem; }
.number-list { margin: 2rem 0; padding: 0; list-style: none; }
.number-list li { display: flex; margin-bottom: 1.4rem; gap: 1rem; }
.number-list li > span { display: grid; width: 2.4rem; height: 2.4rem; flex: 0 0 auto; border-radius: 50%; place-items: center; color: var(--white); background: var(--red-dark); font-weight: 800; }
.number-list h3 { margin-bottom: .2rem; }.number-list p { margin: 0; }
.comparison-grid, .contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.comparison-grid article, .contact-cards article { padding: 2rem; border: 1px solid var(--line); border-radius: var(--radius); }
.comparison-grid h2, .contact-cards h2 { margin-top: 1.2rem; font-size: 1.65rem; }
.contact-cards svg { color: var(--red-dark); }
.event-list { border-top: 1px solid var(--line); }
.event-list-card { display: grid; padding: 1.5rem 0; border-bottom: 1px solid var(--line); grid-template-columns: 12rem 1fr; gap: 2rem; }
.event-list-card time { display: flex; flex-direction: column; color: var(--red-dark); font-weight: 800; }
.event-list-card time span { font-size: 3rem; line-height: 1; }

.history-section { background: linear-gradient(180deg, var(--white), #fbf6f7); }
.history-timeline { position: relative; max-width: 60rem; margin: 0; padding: 0; list-style: none; }
.history-timeline::before { position: absolute; top: 1.25rem; bottom: 1.25rem; left: 7.45rem; width: .16rem; background: linear-gradient(var(--red), #db9aa5); content: ""; }
.history-timeline li { position: relative; display: grid; min-height: 9rem; padding-bottom: 2.6rem; grid-template-columns: 6.2rem minmax(0, 1fr); gap: 2.6rem; }
.history-timeline li:last-child { padding-bottom: 0; }
.history-marker { position: relative; display: flex; min-height: 3rem; align-items: flex-start; justify-content: flex-end; }
.history-marker::after { position: absolute; top: .72rem; right: -1.77rem; width: 1.2rem; height: 1.2rem; border: .3rem solid var(--white); border-radius: 50%; background: var(--red); box-shadow: 0 0 0 1px var(--red); content: ""; }
.history-marker span { color: var(--red-dark); font-size: 1rem; font-weight: 850; letter-spacing: .02em; }
.history-content { padding: 1.5rem 1.7rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 10px 35px rgba(84, 44, 56, .08); }
.history-content h3 { margin-bottom: .35rem; }
.history-content p { margin: 0; color: var(--muted); }

.contact-form { padding: clamp(1.4rem, 4vw, 2.5rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.checkbox { display: flex; align-items: flex-start; gap: .7rem; }
.checkbox input { width: 1.25rem; height: 1.25rem; margin-top: .25rem; flex: 0 0 auto; accent-color: var(--red-dark); }
.field-error { min-height: 1.2em; color: var(--red-dark); font-size: .84rem; font-weight: 700; }
.form-actions { display: flex; margin-top: 1.25rem; align-items: center; gap: 1rem; }
.form-actions p { margin: 0; }.form-status { min-height: 1.5em; margin-top: 1rem; font-weight: 750; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 1.4rem 3rem 1.4rem 0; cursor: pointer; font-size: 1.17rem; font-weight: 780; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { position: absolute; top: 1.15rem; right: .2rem; color: var(--red-dark); font-size: 1.8rem; content: "+"; }
.faq-list details[open] summary::after { content: "−"; }.faq-list details > div { padding: 0 3rem 1.2rem 0; }
.legal-hero { padding-block: 4rem; }.legal-content { max-width: 54rem; }
.legal-content h2 { margin-top: 2.2rem; font-size: 1.65rem; }
.legal-status { display: flex; padding: 1rem 1.2rem; border-left: .3rem solid #ad6800; flex-direction: column; background: #fff3dc; }
.not-found { min-height: 70vh; display: grid; padding: 6rem 0; place-items: center; text-align: center; }
.error-code { margin: 0; color: var(--red); font-size: clamp(5rem, 18vw, 12rem); font-weight: 900; line-height: .8; }

.site-footer { padding: 4.5rem 0 1.5rem; color: #fff8fa; background: linear-gradient(145deg, var(--panel) 0%, var(--panel-deep) 100%); }
.footer-grid { display: grid; grid-template-columns: 1.35fr 1fr .8fr 1fr; gap: clamp(2rem, 5vw, 5rem); }
.footer-brand img { width: 15rem; height: auto; margin-bottom: 1.2rem; filter: brightness(0) invert(1); }
.site-footer h2 { color: var(--white); font-size: 1rem; letter-spacing: .04em; }
.site-footer a { color: var(--white); }
.site-footer p, .site-footer address { color: #eadde1; }
.partner-note { font-size: .85rem; }.footer-links { margin: 0; padding: 0; list-style: none; }.footer-links li { margin-bottom: .45rem; }
.footer-bottom { display: flex; margin-top: 3.5rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.22); justify-content: space-between; color: #d6c6cb; font-size: .82rem; }

.compass-launcher { position: fixed; z-index: 80; right: 1.3rem; bottom: 1.3rem; display: flex; padding: .75rem 1rem; border: 0; border-radius: 99rem; align-items: center; gap: .7rem; color: var(--white); background: var(--red-dark); box-shadow: 0 8px 28px rgba(33,23,26,.35); }
.compass-launcher svg { width: 1.8rem; height: 1.8rem; }.compass-launcher span { display: flex; align-items: flex-start; flex-direction: column; line-height: 1.15; }.compass-launcher small { opacity: .85; }
.compass-dialog { width: min(32rem, calc(100% - 1.5rem)); max-height: min(46rem, calc(100vh - 1.5rem)); padding: 0; overflow: hidden; border: 0; border-radius: 1.1rem; color: var(--ink); background: var(--white); box-shadow: 0 25px 80px rgba(0,0,0,.35); }
.compass-dialog::backdrop { background: rgba(20,12,15,.65); backdrop-filter: blur(.15rem); }
.compass-shell { display: flex; max-height: min(46rem, calc(100vh - 1.5rem)); flex-direction: column; }
.compass-header { display: grid; padding: 1rem; grid-template-columns: auto 1fr auto; align-items: center; gap: .8rem; color: var(--white); background: var(--panel); }
.compass-header h2, .compass-header p { margin: 0; }.compass-header h2 { font-size: 1.35rem; }.compass-header .eyebrow { color: #ffb9c3; }
.compass-mark { display: grid; width: 2.7rem; height: 2.7rem; border-radius: 50%; place-items: center; background: var(--red); }
.icon-button { display: grid; width: 2.6rem; height: 2.6rem; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; place-items: center; color: var(--white); background: transparent; font-size: 1.8rem; line-height: 1; }
.compass-status { padding: .5rem 1rem; color: var(--muted); background: var(--surface); font-size: .8rem; }
.compass-messages { min-height: 13rem; padding: 1rem; overflow-y: auto; overscroll-behavior: contain; }
.chat-message { max-width: 88%; margin-bottom: .8rem; padding: .75rem .9rem; border-radius: .9rem .9rem .9rem .15rem; background: var(--surface); }
.chat-message.user { margin-left: auto; border-radius: .9rem .9rem .15rem .9rem; color: var(--white); background: var(--red-dark); }.chat-message p { margin: 0; }
.chat-sources { margin: .65rem 0 0; padding-left: 1.2rem; font-size: .82rem; }.chat-actions { display: flex; margin-top: .65rem; flex-wrap: wrap; gap: .4rem; }.chat-actions a { padding: .35rem .65rem; border: 1px solid var(--red-dark); border-radius: 99rem; font-size: .82rem; font-weight: 750; text-decoration: none; }
.starter-list { display: flex; flex-wrap: wrap; gap: .45rem; }.starter-list button { padding: .55rem .7rem; border: 1px solid var(--line); border-radius: 99rem; color: var(--ink); background: var(--white); font-size: .82rem; text-align: left; }
.compass-form { padding: .8rem 1rem 0; border-top: 1px solid var(--line); }.compass-form label { display: block; margin-bottom: .35rem; font-size: .84rem; font-weight: 780; }
.compass-input-row { display: grid; grid-template-columns: 1fr auto; gap: .5rem; }.compass-input-row textarea { min-height: 3.5rem; padding: .6rem; resize: none; border: 1px solid #96898d; border-radius: .55rem; }.icon-submit { width: 3.5rem; padding: 0; border-radius: .6rem; }.compass-form .small { margin: .45rem 0; }
.compass-fallback { display: flex; padding: .65rem 1rem .9rem; justify-content: center; gap: 1rem; font-size: .82rem; }

@media (max-width: 1120px) {
  .menu-button { display: inline-flex; margin-left: auto; align-items: center; }
  .main-nav { position: fixed; z-index: 120; top: 5.6rem; right: 0; left: 0; display: none; max-height: calc(100vh - 5.6rem); padding: 1rem 1.25rem 1.5rem; overflow-y: auto; border-top: 1px solid var(--line); flex-direction: column; align-items: stretch; background: var(--white); box-shadow: var(--shadow); }
  .main-nav[data-open="true"] { display: flex; }
  .main-nav ul { align-items: stretch; flex-direction: column; gap: 0; }
  .main-nav ul a { padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .main-nav ul a::after { display: none; }.main-nav ul a[aria-current="page"] { color: var(--red-dark); }
  .nav-actions { padding-top: .7rem; align-items: stretch; flex-direction: column; }.nav-info { padding: .5rem 0; }
  .offer-grid.four { grid-template-columns: repeat(2, 1fr); }
  .offer-filters { position: static; grid-template-columns: 2fr 1fr 1fr; }.offer-filters .button { grid-column: 1 / -1; justify-self: start; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .hero-grid, .offer-hero-grid, .split-feature, .partnership-grid, .compass-teaser-grid, .form-layout { grid-template-columns: minmax(0, 1fr); }
  .home-hero { min-height: auto; }.hero-visual { min-height: min(80vw, 30rem); order: -1; }
  .area-grid, .offer-grid, .comparison-grid, .contact-cards { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }.steps li:nth-child(2) { border-right: 0; }
  .benefit-list > div { grid-template-columns: 2rem 1fr; }.benefit-list p { grid-column: 2; }
  .event-card { position: static; }.fact-grid { grid-template-columns: repeat(2, 1fr); }.fact-grid > div:nth-child(2n) { border-right: 0; }
  .event-list-card { grid-template-columns: 9rem 1fr; }.contact-strip-inner { align-items: flex-start; flex-direction: column; }.contact-strip .button-row { min-width: 0; }
}

@media (max-width: 600px) {
  .container { width: min(calc(100% - 1.5rem), var(--container)); }
  .breadcrumbs { overflow-x: visible; white-space: normal; }
  .breadcrumbs ol { width: 100%; min-width: 0; flex-wrap: wrap; }
  .brand, .brand img { width: 10.5rem; flex-basis: 10.5rem; }
  .header-inner { min-height: 4.8rem; }.main-nav { top: 4.8rem; max-height: calc(100vh - 4.8rem); }
  h1 { font-size: clamp(2.35rem, 12vw, 3.4rem); }.page-hero h1 { font-size: clamp(2.3rem, 11vw, 3.4rem); }
  .hero-grid { padding-block: 2.8rem 4rem; }.hero-visual { min-height: 22rem; }
  .button-row, .button-row .button { width: 100%; }.button-row .text-link-on-dark { text-align: center; }
  .trust-list { align-items: flex-start; flex-direction: column; }
  .area-grid, .offer-grid, .offer-grid.four, .content-grid, .comparison-grid, .contact-cards, .form-grid, .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .area-card { min-height: 19rem; }.offer-filters { grid-template-columns: 1fr; }.offer-filters .button { width: 100%; }
  .steps { grid-template-columns: 1fr; }.steps li { min-height: auto; border-right: 0; }.steps li > span { margin-bottom: 1rem; }
  .fact-grid { grid-template-columns: 1fr; }.fact-grid > div { border-right: 0; }
  .event-list-card { grid-template-columns: 1fr; gap: .8rem; }.event-list-card time { flex-direction: row; align-items: baseline; gap: .5rem; }.event-list-card time span { font-size: 2rem; }
  .history-timeline::before { left: .52rem; }
  .history-timeline li { min-height: 0; padding: 0 0 1.5rem 2.25rem; grid-template-columns: 1fr; gap: .5rem; }
  .history-marker { min-height: 1.6rem; justify-content: flex-start; }
  .history-marker::after { top: .22rem; right: auto; left: -2.25rem; }
  .history-content { padding: 1.2rem; }
  .form-actions { align-items: stretch; flex-direction: column; }.form-actions .button { width: 100%; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: .4rem; }
  .compass-launcher span { display: none; }.compass-launcher { width: 3.7rem; height: 3.7rem; padding: 0; justify-content: center; }
  .compass-dialog { width: calc(100% - .5rem); max-height: calc(100vh - .5rem); }.compass-shell { max-height: calc(100vh - .5rem); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

@media print {
  .site-header, .site-footer, .compass-launcher, .compass-dialog, .button-row, .contact-strip { display: none !important; }
  body { color: #000; background: #fff; }.page-hero, .hero { padding: 2rem 0; color: #000; background: #fff; }.section { padding: 2rem 0; }
  a { color: #000; }.offer-card { break-inside: avoid; box-shadow: none; }
}
