/* Exe AI — public site. The tokens, the header, the buttons and the footer live in kopf.css, which every page loads before this file. */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* The page is at least as tall as the window and the middle part takes what is left: on a short page the foot bar stays at the lower edge. */
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.55 var(--schrift); -webkit-font-smoothing: antialiased; overflow-x: hidden; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
main { flex: 1 0 auto; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
svg { display: block; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
p { margin: 0; }
.icon { display: inline-block; width: 22px; height: 22px; color: currentColor; flex: none; }
.icon svg { width: 100%; height: 100%; }
.ueber { font-size: 12.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--still); }

/* ---- hero: the words in the middle, below them the trailer ---- */
.held { min-height: calc(100vh - var(--kopf)); min-height: calc(100dvh - var(--kopf)); display: grid; align-items: center; padding: clamp(24px, 3.5vh, 44px) 0 74px; }
.held .buehne { display: grid; justify-items: center; gap: clamp(28px, 4.5vh, 48px); }
.held .wort { display: grid; justify-items: center; text-align: center; gap: 22px; }
.held .pille { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--leise); border: 1px solid var(--linie-stark); border-radius: 999px; padding: 5px 12px 5px 9px; }
.held h1 { font-size: clamp(42px, 4.6vw, 72px); letter-spacing: -0.035em; font-weight: 650; }
.held .unter { font-size: clamp(17px, 1.25vw, 20px); color: var(--leise); max-width: 60ch; }
/* One line of headline on a wide screen: the break is switched off and the space before it remains. A phone keeps the two lines. */
@media (min-width: 721px) { .held h1 br { display: none; } }
.held .lade { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 10px; }
.held .hinweis { font-size: 12.5px; color: var(--still); }
.held .hinweis a { color: var(--leise); border-bottom: 1px solid var(--linie-stark); }
/* The trailer: 16:9, as wide as the stage allows, but never taller than the first screen has room for, so its buttons
   are always in view. From a window height of 1080 px on, words, gaps and the arrow below take 488 px beside the
   trailer's own height (44 + 322 + 48 + 74), and its width is that height times 16 / 9. */
.trailer { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius-gross); border: 1px solid var(--linie-stark); background: var(--bg-tief); box-shadow: 0 40px 100px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(0, 0, 0, .35);
  width: min(100%, calc((100vh - var(--kopf) - 488px) * 16 / 9));
  width: min(100%, calc((100dvh - var(--kopf) - 488px) * 16 / 9)); }
/* Below 1080 px there is no arrow, and the trailer may reach down to the fold. Above and below it stand the head, the
   top padding (3.5 vh), the words (at most 325 px), the gap (4.5 vh) and 11 px of air: 92 vh less the head less 336 px,
   times 16 / 9. On a very low window it keeps 480 px of width and runs below the fold. */
@media (max-height: 1079px) {
  .trailer { width: min(100%, max(480px, calc((92vh - var(--kopf) - 336px) * 16 / 9)));
    width: min(100%, max(480px, calc((92dvh - var(--kopf) - 336px) * 16 / 9))); }
}
.trailer video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
/* Pause and sound sit in the lower right corner on a dark glass, always visible: the sound is half of the trailer.
   A pressed button shows its second sign: play while the trailer is paused, the speaker with its waves while it sounds. */
.trailer-controls { position: absolute; right: 14px; bottom: 14px; display: flex; gap: 8px; }
.trailer-controls[hidden] { display: none; }
.trailer-controls button { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: var(--text); background: rgba(21, 21, 20, .62); border: 1px solid var(--linie-stark); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background .15s, border-color .15s; }
.trailer-controls button:hover { background: rgba(45, 45, 42, .88); border-color: rgba(236, 235, 230, .34); }
.trailer-controls button:focus-visible { outline: 2px solid var(--leise); outline-offset: 2px; }
.trailer-controls svg { width: 18px; height: 18px; }
.trailer-controls button[aria-pressed="true"] .off, .trailer-controls button[aria-pressed="false"] .on { display: none; }
/* The beta badge in the pill of the hero and on the line of the closing card. */
.held .pille .beta { margin-left: -3px; }
.schluss .karte.lade .hinweis .beta { margin-right: 4px; vertical-align: 1px; }

/* the hint at the foot of the first screen: the page goes on below */
.held { position: relative; }
.weiter { appearance: none; background: none; border: 0; padding: 0; font: inherit; cursor: pointer; position: absolute; left: 50%; bottom: clamp(12px, 2.6vh, 26px); width: 36px; height: 36px; margin-left: -18px; display: grid; place-items: center; color: var(--still); animation: weiter 1.8s ease-in-out infinite; }
.weiter:hover { color: var(--text); }
.weiter:focus-visible { outline: 2px solid var(--leise); outline-offset: 2px; border-radius: 50%; }
.weiter svg { width: 22px; height: 22px; transform: rotate(90deg); }
@keyframes weiter { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .weiter { animation: none; } }
/* The arrow shows only where the whole first screen fits; anywhere else it would hang half over the lower edge. */
@media (max-width: 1100px), (max-height: 1079px) { .weiter { display: none; } }
.fenster { border-radius: var(--radius-gross); border: 1px solid var(--linie-stark); background: var(--bg-tief); overflow: hidden; box-shadow: 0 40px 100px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(0, 0, 0, .35); }
.fenster img { width: 100%; }

/* ---- stages: every stage is one composed block, equal heights inside ---- */
.stufe { padding: clamp(56px, 8vh, 96px) 0; scroll-margin-top: var(--kopf); }
.stufe + .stufe { border-top: 1px solid var(--linie); }
.stufe h2 { font-size: clamp(30px, 2.8vw, 44px); letter-spacing: -0.03em; }
.stufe .text { color: var(--leise); font-size: 16.5px; max-width: 46ch; }

/* showcase: tabs on one side, one framed panel on the other; the panel never changes size */
.schau { display: grid; grid-template-columns: minmax(300px, 1fr) 2fr; gap: 48px; align-items: stretch; }
.schau.gespiegelt { grid-template-columns: 2fr minmax(300px, 1fr); }
.schau.gespiegelt .seite { order: 2; }
.schau .seite { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.schau .seite .text { margin-top: 2px; }
.reiter { display: flex; flex-direction: column; gap: 2px; margin-top: auto; }
.reiter button { display: grid; grid-template-columns: 24px 1fr; column-gap: 14px; align-items: start; padding: 14px 16px; border-radius: var(--radius); color: var(--leise); border: 1px solid transparent; transition: background .15s, color .15s, border-color .15s; }
.reiter button .icon { width: 22px; height: 22px; margin-top: 1px; }
.reiter button b { display: block; color: var(--text); font-weight: 600; font-size: 15.5px; margin-bottom: 3px; }
.reiter button span { display: block; font-size: 14px; line-height: 1.45; }
.reiter button[aria-selected="true"] { background: var(--feld); border-color: var(--linie); }
.reiter button:hover { color: var(--text); }
.reiter.kurz button { grid-template-columns: 44px 1fr; align-items: center; padding: 10px 14px; }
.reiter.kurz button img { width: 44px; height: 30px; object-fit: cover; object-position: top; border-radius: 6px; border: 1px solid var(--linie-stark); }
.reiter.kurz button b { margin: 0; }
/* The panel keeps the 16:9 of the photos: it is never stretched to the height of the column beside it, which would cut
   the photo at its sides. It stands at the foot of the row, so its lower edge meets the lower edge of the tabs. */
.tafel { align-self: end; position: relative; width: 100%; min-width: 0; aspect-ratio: 16 / 9; border-radius: var(--radius-gross); border: 1px solid var(--linie-stark); background: var(--bg-tief); overflow: hidden; box-shadow: 0 40px 100px -40px rgba(0, 0, 0, .9); }
.tafel img, .tafel video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center; padding: 3.5%; transition: opacity .25s; }
.tafel img.voll, .tafel video.voll { object-fit: cover; padding: 0; }
.tafel img[hidden], .tafel video[hidden] { display: block; opacity: 0; pointer-events: none; }
.tafel .unterschrift { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 18px; font-size: 13px; color: var(--leise); background: linear-gradient(to top, rgba(21, 21, 20, .92), rgba(21, 21, 20, 0)); }

/* split: one picture, one column of equal rows, both edges shared */
.teilung { display: grid; grid-template-columns: 1.55fr 1fr; gap: 48px; align-items: stretch; }
.teilung .fenster { aspect-ratio: 16 / 9; }
/* A column with words only stands in the middle of the picture beside it. */
.teilung .spalte.centered { justify-content: center; }
.teilung .fenster img, .teilung .fenster video { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.teilung .spalte { display: flex; flex-direction: column; min-width: 0; }
.teilung .spalte h2 { margin-bottom: 10px; }
.handyteil { grid-template-columns: 1fr 1fr; align-items: center; }
.handybild { display: flex; justify-content: center; }
.handybild video { height: min(78vh, 760px); max-width: 100%; aspect-ratio: 872 / 1786; object-fit: contain; -webkit-mask: url(bilder/handy-maske.png) center / 100% 100% no-repeat; mask: url(bilder/handy-maske.png) center / 100% 100% no-repeat; }
.punkte { display: flex; flex-direction: column; margin-top: 28px; flex: 1; border-top: 1px solid var(--linie); }
.punkte div { flex: 1; display: grid; grid-template-columns: 26px 1fr; column-gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--linie); }
.punkte div .icon { width: 22px; height: 22px; color: var(--leise); }
.punkte b { display: block; font-weight: 600; font-size: 15.5px; }
.punkte span { display: block; color: var(--leise); font-size: 14px; }

/* feature cards: equal boxes in one grid, the sign, the name and two or three lines */
.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 48px; }
.features.six { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature { background: var(--bg-tief); border: 1px solid var(--linie); border-radius: var(--radius-gross); padding: 24px 26px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.feature .icon { width: 22px; height: 22px; color: var(--leise); margin-bottom: 8px; }
.feature b { font-size: 15.5px; font-weight: 600; }
.feature p { color: var(--leise); font-size: 14px; line-height: 1.5; }
.feature code { font: 13px var(--fest); color: var(--text); }

/* two cards, same height, shared edges */
.zweier { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.karte { background: var(--bg-tief); border: 1px solid var(--linie); border-radius: var(--radius-gross); padding: 36px 40px; display: flex; flex-direction: column; min-width: 0; min-height: 480px; }
.karte h2 { margin-bottom: 10px; }
.karte .text { margin-bottom: 8px; }
/* The picture card shows the whole window, in the middle of the card, nothing cut off. */
.karte.bild { padding: clamp(20px, 2.6vw, 40px); display: grid; place-items: center; }
.karte.bild img { width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--linie-stark); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .9); }
.liste { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-direction: column; flex: 1; border-top: 1px solid var(--linie); }
.liste li { flex: 1; display: grid; grid-template-columns: 26px 1fr auto; column-gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--linie); font-size: 15px; }
.liste li .icon { width: 20px; height: 20px; color: var(--leise); }
.liste li span { color: var(--still); font-size: 13.5px; text-align: right; }
.liste li i { width: 7px; height: 7px; border-radius: 50%; background: var(--text); display: inline-block; margin-left: 10px; }

/* logo strips: one line, equal boxes, the vendor marks one to one */
.streifen { margin-top: 24px; min-height: 136px; border: 1px solid var(--linie); border-radius: var(--radius-gross); background: var(--bg-tief); padding: 22px 28px; display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: center; }
.streifen + .streifen { margin-top: 12px; }
.streifen .titel { font-size: 15px; font-weight: 600; }
.streifen .titel span { display: block; font-weight: 400; color: var(--still); font-size: 13px; margin-top: 2px; }
.logos { display: grid; grid-template-columns: repeat(auto-fit, minmax(68px, 1fr)); gap: 6px 2px; }
.logo { min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 9px; padding: 8px 4px; border-radius: var(--radius); }
.logo:hover { background: var(--feld); }
.logo svg { width: 28px; height: 28px; color: var(--text); }
.logo span { font-size: 11px; color: var(--still); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }

/* closing: privacy beside download */
.schluss .karte { min-height: 0; }
.schluss .karte.lade { align-items: center; text-align: center; justify-content: center; gap: 18px; }
.schluss .karte.lade .marke-gross { width: 70px; height: 70px; }
.schluss .karte.lade .marke-gross img { width: 100%; height: 100%; display: block; }
.schluss .karte.lade .knoepfe { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 10px; }
.schluss .karte.lade .hinweis { font-size: 12.5px; color: var(--still); max-width: 46ch; }
.schluss .karte.lade .hinweis a { color: var(--leise); border-bottom: 1px solid var(--linie-stark); }

@media (max-width: 1500px) {
  .logo span { display: none; }
  .logos { grid-template-columns: repeat(auto-fit, minmax(56px, 1fr)); }
  .logo { padding: 10px 4px; }
}
@media (max-width: 1100px) {
  .held { min-height: 0; padding-bottom: clamp(40px, 6vh, 64px); }
  .features, .features.six { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .schau, .schau.gespiegelt, .teilung, .zweier { grid-template-columns: 1fr; }
  .schau.gespiegelt .seite { order: 0; }
  .reiter { flex-direction: row; overflow-x: auto; gap: 6px; margin-top: 0; padding-bottom: 4px; }
  .reiter button { flex: 0 0 auto; width: 260px; }
  .reiter.kurz button { width: auto; }
  .karte { min-height: 0; }
  .streifen { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .held .lade, .schluss .karte.lade .knoepfe { grid-auto-flow: row; grid-auto-columns: auto; width: 100%; max-width: 360px; }
  .held h1 { font-size: 40px; }
  .stufe { padding: 48px 0; }
  .karte { padding: 26px 22px; }
  .reiter button { width: 220px; }
  .logo { min-width: 72px; }
  .features, .features.six { grid-template-columns: 1fr; }
  .trailer-controls { right: 10px; bottom: 10px; }
}
.tafel img.rechts { object-position: right top; }
