/* Company event landing pages: /firmenevents and /en/corporate, plus the Christmas party pages
   (/firmenevents/weihnachtsfeier and /en/corporate/christmas-party). One file for all four, so the
   general page and the Christmas page stay one design.
   Layout from November 2026: hero with three phones, one proof line, the evening in pictured steps,
   prices as a list, a flat FAQ and one closing button. Section order and placement started from
   pov.camera; colours, type and buttons are the site's own. */

.xm { --line: rgba(0, 0, 0, .1); max-width: 1010px; margin-inline: auto; padding-bottom: 24px; }
.xm p { text-wrap: pretty; }
.xm h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); letter-spacing: -.02em; line-height: 1.15; }
.xm a { color: var(--primary-dark); }
.nw { white-space: nowrap; }
.xm-sec { padding: clamp(44px, 6vw, 72px) 0; border-top: 1px solid var(--line); }

/* Hero: sentence case; the long compound breaks at its own hyphen, never inside a word,
   and "Das" stays on the line with it (&nbsp; in the markup). */
.xm-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center; padding: clamp(36px, 6vw, 80px) 0 0; }
.xm-hero h1 { font-size: clamp(2.1rem, 3.5vw, 2.8rem); font-weight: 800; line-height: 1.05; letter-spacing: -.025em; text-wrap: pretty; }
.xm-hero p { max-width: 38ch; margin-top: 14px; font-size: 1.08rem; color: var(--text-body); }
.xm-hero .btn { display: block; max-width: 340px; margin-top: 24px; text-align: center; color: var(--white); }
.xm-phones { display: flex; justify-content: center; align-items: center; gap: 10px; }
.xm-phones .phone-mock { --s: .38; flex: none; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .16)); }
.xm-phones .phone-mock:nth-child(2) { transform: translateY(18px); }
/* The Studio button and the PDF quote: always side by side, same height (the outline button has a
   1px border, a transparent one on the primary matches it). Same rules as .hm-ctas in home.css.
   The quote button sits in .xm-call with the small "Lieber kurz sprechen?" booking link under it. */
.xm-ctas { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 12px; margin-top: 24px; }
.xm-hero .xm-ctas .btn { margin-top: 0; }
.xm-call { display: flex; flex-direction: column; align-items: stretch; }
.xm .xm-write { margin-top: 10px; font-size: .9rem; font-weight: 600; text-align: center; color: var(--text-secondary); }
.xm .xm-write:hover { color: var(--primary-dark); }
.xm-ctas .btn-primary { border: 1px solid transparent; }
.xm-hero .btn-outline { color: var(--primary-dark); box-shadow: none; border: 1px solid rgba(59, 58, 101, .12); }

/* Proof: one compact block (Nick, PR #65: "too big"). Rating line, the Daimler line 6px under it,
   customer logos 14px below, press 18px under the logos without a divider. Same numbers as
   .hm-proof in home.css and the wedding page. */
.xm-proof { display: grid; justify-items: center; padding: 28px 0 32px; text-align: center; }
.xm-proof b { font-family: var(--display); font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }
.xm-proof > span { margin-top: 6px; font-size: .8rem; color: var(--text-secondary); }
.xm-proof .trust-logos { margin-top: 14px; gap: 12px 40px; }
.xm-proof .trust-logo-img { height: 30px; max-width: 140px; }
/* The Netzsch wordmark is solid and wide, so it reads heavier than the others at the same height. */
.xm-proof .trust-logo-img[src$="netzsch.svg"] { height: 22px; }
/* Press under the customer logos: a label plus the SZ logo, one link to the article. */
.xm-press { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 12px; margin-top: 18px; text-decoration: none; }
.xm-press span { font-family: var(--display); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-secondary); }
.xm-press img { display: block; height: 18px; width: auto; filter: grayscale(1); opacity: .7; transition: opacity .25s ease; }
.xm-press:hover img { opacity: 1; }
.xm-press:focus-visible { outline: 3px solid var(--primary); outline-offset: 4px; border-radius: 8px; }

/* The steps: one large picture and one sentence each, picture side alternating.
   Every picture gets the wider column, also when it sits on the right. */
.xm-steps { display: grid; gap: clamp(40px, 6vw, 88px); }
.xm-step { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.xm-step:nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
.xm-step:nth-child(even) .xm-stage { order: 2; }
.xm-step h2 { font-weight: 800; }
.xm-step p { max-width: 40ch; margin-top: 12px; font-size: 1.1rem; color: var(--text-body); }
.xm-stage { position: relative; aspect-ratio: 4 / 3; border-radius: clamp(24px, 3.4vw, 40px); background: var(--white); overflow: hidden; }
.xm-stage.flex { display: flex; align-items: flex-end; justify-content: center; gap: clamp(12px, 3vw, 36px); padding: 0 clamp(16px, 3vw, 40px); }
.xm-stage .phone-mock { --s: .42; flex: none; margin-bottom: -90px; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .16)); }
/* A photo that fills the stage on its own; --pos keeps the subject in frame. */
.xm-photo, .xm-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, center); }
/* The App Clip phone sits a little above the bottom edge and runs off the top, so only
   the lower half with the card shows. */
.xm-stage.xm-clip .phone-mock { --s: .5; margin: 0 0 36px; }
/* Board and camera side by side; the camera sits a little higher. */
.xm-duo .phone-mock + .phone-mock { margin-bottom: -40px; }
/* A finished 9:16 export shown whole (logo on top, event title at the bottom), centred in the stage. */
.xm-export-img { position: absolute; top: clamp(16px, 3vw, 32px); bottom: clamp(16px, 3vw, 32px); left: 50%; transform: translateX(-50%); aspect-ratio: 9 / 16; border-radius: clamp(10px, 1.4vw, 16px); overflow: hidden; box-shadow: 0 18px 40px rgba(0, 0, 0, .18); }
.xm-export-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.xm-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, 1fr); gap: 6px; width: 100%; height: 100%; }
.xm-grid img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Heading and list side by side, both starting at the top: a short heading centred against a long
   list would float in the middle of its column. */
.xm-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
.xm-split > :first-child { padding-top: 10px; }
.xm-split p { max-width: 40ch; margin-top: 12px; color: var(--text-body); }
.xm-prices { margin: 0; padding: 0; list-style: none; }
.xm-prices li { display: flex; align-items: baseline; justify-content: space-between; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.xm-prices li:last-child { border-bottom: 0; }
.xm-prices span { color: var(--text-body); }
.xm-prices b { font-family: var(--display); font-size: 1.7rem; font-weight: 800; }
.xm-prices b.free { color: var(--primary-dark); }

.xm-faq details, .xm-more { border-bottom: 1px dashed var(--line); }
.xm-faq h2 { margin-bottom: 18px; }
.xm-faq summary, .xm-more { position: relative; display: block; padding: 17px 40px 17px 4px; font-weight: 600; cursor: pointer; list-style: none; }
.xm-faq summary::-webkit-details-marker { display: none; }
.xm-faq summary::after { content: "+"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font-size: 1.3rem; font-weight: 400; color: var(--text-secondary); }
.xm-faq details[open] summary::after { content: "–"; }
.xm-faq summary:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; border-radius: 8px; }
.xm-faq details p { max-width: 70ch; padding: 0 4px 18px; color: var(--text-body); }
.xm .xm-more { border-bottom: 0; color: var(--text-primary); text-decoration: none; }
.xm-more span { position: absolute; right: 8px; color: var(--text-secondary); }

.xm-end { display: grid; justify-items: center; gap: 22px; text-align: center; }
.xm-end .btn { color: var(--white); }

/* General page only (/firmenevents, /en/corporate). */
/* Occasions and the Event package: dashed lists like the prices, a bold name and one short line. */
.xm-list { margin: 0; padding: 0; list-style: none; }
.xm-list li { padding: 14px 0; border-bottom: 1px dashed var(--line); color: var(--text-body); }
.xm-list li:last-child { border-bottom: 0; }
.xm-list b { display: block; font-family: var(--display); font-size: 1.12rem; font-weight: 800; color: var(--text-primary); }
.xm-split .xm-link { display: inline-block; margin-top: 16px; font-weight: 600; }
/* The Christmas page as one card under the occasions, tinted like the season banner. */
.xm-season { display: flex; align-items: center; gap: 14px; margin-top: 24px; padding: 16px 18px; border-radius: 20px; background: rgba(255, 200, 61, .3); color: var(--secondary); text-decoration: none; transition: transform .2s ease; }
.xm .xm-season { color: var(--secondary); }
.xm-season:hover { transform: translateY(-2px); }
.xm-season:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }
.xm-season svg { width: 22px; height: 22px; flex: none; color: #9a6b00; }
.xm-season span { flex: 1; line-height: 1.4; }
.xm-season b { display: block; font-family: var(--display); font-size: 1.05rem; }
.xm-season i { font-style: normal; font-size: 1.3rem; }
/* "More than 200": the last price row is a link to the quote, not a price. */
.xm-prices a { font-family: var(--display); font-size: 1.05rem; font-weight: 700; text-decoration: none; }

/* Tablet: three hero phones don't fit next to the copy, and two phones side by side
   need a taller stage than a photo does. */
@media (max-width: 1000px) {
  /* Single column: the whole hero is centred, like the proof block under it. */
  .xm-hero { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .xm-hero h1 { text-wrap: balance; }
  .xm-hero p { max-width: 52ch; margin-inline: auto; }
  /* CTA pair: two equal buttons in one row, at most 520px wide so they don't grow huge on tablets. */
  .xm-ctas { flex-wrap: nowrap; width: 100%; max-width: 520px; margin-inline: auto; gap: 10px; }
  .xm-hero .xm-ctas > .btn, .xm-call { flex: 1 1 0; min-width: 0; }
  .xm-hero .xm-ctas .btn { max-width: none; padding: 15px 12px; font-size: 1rem; white-space: nowrap; }
  .xm-phones .phone-mock { --s: .32; }
  .xm-stage.flex, .xm-stage.xm-export { aspect-ratio: 1; gap: 14px; }
}
@media (max-width: 800px) {
  .xm-hero, .xm-split { grid-template-columns: minmax(0, 1fr); }
  .xm-hero h1 { font-size: clamp(1.9rem, 8.4vw, 2.6rem); }
  .xm-hero p { max-width: none; }
  .xm-hero .btn { max-width: none; }
  .xm-phones .phone-mock { --s: .25; }
  .xm-step, .xm-step:nth-child(even) { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .xm-step:nth-child(even) .xm-stage { order: 0; }
  .xm-stage .phone-mock { --s: .4; margin-bottom: -70px; }
  .xm-stage.xm-clip .phone-mock { --s: .4; margin: 0 0 28px; }
  .xm-duo .phone-mock { --s: .34; margin-bottom: -60px; }
  .xm-duo .phone-mock + .phone-mock { margin-bottom: -24px; }
}
@media (max-width: 600px) {
  .xm-proof { padding: 24px 0 28px; }
  .xm-proof b { font-size: .78rem; }
  .xm-proof > span { font-size: .75rem; }
  .xm-proof .trust-logos { gap: 10px 24px; }
  .xm-proof .trust-logo-img { height: 22px; max-width: 110px; }
  .xm-proof .trust-logo-img[src$="netzsch.svg"] { height: 16px; }
  .xm-press img { height: 15px; }
}
@media (max-width: 400px) {
  .xm-ctas { gap: 8px; }
  .xm-hero .xm-ctas .btn { padding: 14px 8px; font-size: .94rem; }
}
@media (max-width: 340px) {
  .xm-hero .xm-ctas .btn { padding-inline: 6px; font-size: .88rem; }
}
