/* 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 window in a row of pictures ---- */
.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 .pille i { width: 7px; height: 7px; border-radius: 50%; background: var(--text); }
.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); }
/* One large window whose looks fade into each other, and at its right the pictures as a column of pictures that is
   exactly as tall as the window. The widths follow from that: with a picture ratio r = 2560 / 1410 and four gaps g
   between five pictures, a column as tall as a window of width W is W / 5 - 4 * g * r / 5 wide, that is
   W / 5 - 1.452 * g. Window, distance and column together fill the box, so W = (box - distance + 1.452 * g) / 1.2. */
.held-schau { --luecke: 10px; --abstand: clamp(20px, 2.6vw, 44px); display: grid; grid-template-columns: calc((100% - var(--abstand) + 1.452 * var(--luecke)) / 1.2) minmax(0, 1fr); column-gap: var(--abstand);
  /* As wide as the stage allows, but never taller than the first screen has room for: words, window and the arrow
     below take 488 px beside the window's own height (44 + 322 + 48 + 74), and a box is 1.2 windows wide plus 26 px.
     From a window height of 1080 px on, everything fits. On a lower screen the window stays 0.93 first screens wide
     and the foot of the hero runs below the fold. */
  width: min(100%, max(calc((100vh - var(--kopf) - 488px) * 2.179 + 26px), calc((100vh - var(--kopf)) * 1.116 + 26px)));
  width: min(100%, max(calc((100dvh - var(--kopf) - 488px) * 2.179 + 26px), calc((100dvh - var(--kopf)) * 1.116 + 26px))); }
.held-schau .fenster { position: relative; aspect-ratio: 2560 / 1410; }
.held-schau .fenster > * { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .9s ease; }
.held-schau .fenster > .an { opacity: 1; }
.looks { display: grid; grid-auto-rows: minmax(0, 1fr); gap: var(--luecke); }
.looks button { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--linie-stark); filter: brightness(.74); transition: filter .25s, border-color .25s, box-shadow .25s; }
.looks button img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.looks button:hover { filter: none; }
.looks button:focus-visible { outline: 2px solid var(--leise); outline-offset: 2px; }
.looks button[aria-pressed="true"] { filter: none; border-color: var(--text); box-shadow: 0 0 0 1px var(--text); }
@media (prefers-reduced-motion: reduce) { .held-schau .fenster > * { transition: none; } }

/* 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; }
.tafel { position: relative; width: 100%; min-width: 0; aspect-ratio: 16 / 10; 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 / 10; }
.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; }

/* 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); }
  /* No room at the side: the pictures stand as a row under the window. */
  .held-schau { grid-template-columns: 1fr; row-gap: 12px; width: 100%; }
  .looks { grid-auto-rows: auto; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; }
  .looks button { aspect-ratio: 2560 / 1410; border-radius: var(--radius); }
  .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; }
}
.tafel img.rechts { object-position: right top; }
