/* Unterweisio : la matière, ce sont les panneaux de sécurité (ASR A1.3) : formes pleines, quatre couleurs franches sur fond
   blanc, lettres de signalisation (Overpass, issue de la Highway Gothic). Aucun pictogramme officiel recopié. */
@font-face { font-family: "UW"; src: url(/statique/polices/overpass.woff2) format("woff2"); font-weight: 100 900; font-display: swap;
  unicode-range: U+0000-024F, U+0400-04FF, U+2000-206F, U+20AC, U+2116, U+2122, U+2190-2193, U+2212; }
@font-face { font-family: "UW"; src: url(/statique/polices/vazirmatn.woff2) format("woff2"); font-weight: 100 900; font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F; }

:root {
  --fond: #ffffff; --sol: #eef2ef; --encre: #13211c; --doux: #4d5d56; --trait: #d3dbd6;
  --gebot: #1b5cb0; --verbot: #c4281d; --warnung: #f3b800; --rettung: #0a7a46; --brand: #c4281d; --info: #13211c;
  --accent: #0a7a46; --accent-fonce: #075c35; --erreur: #b3261e;
  --r: 10px; --ombre: 0 1px 0 rgba(19,33,28,.06), 0 8px 24px -12px rgba(19,33,28,.25);
}
*, *::before, *::after { box-sizing: border-box; }
* { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--fond); color: var(--encre); font: 400 17px/1.55 "UW", system-ui, sans-serif;
  text-rendering: geometricPrecision; -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
img, svg { display: block; }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: .26em; text-decoration-skip-ink: auto; }
@media (hover: hover) { a:hover { color: var(--accent); } }
h1, h2, h3 { font-weight: 800; letter-spacing: -.02em; line-height: 1.1; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
button, input, select, textarea { font: inherit; text-rendering: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gebot); outline-offset: 2px; }
.ico { width: 1.25em; height: 1.25em; flex: none; }
[dir="rtl"] .ico-sens { transform: scaleX(-1); }
.cache-lecteur { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

::placeholder { color: #55645d; opacity: 1; }

/* ---------- boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px; padding: 0 22px;
  border-radius: var(--r); border: 2px solid var(--encre); background: var(--fond); color: var(--encre); font-weight: 700;
  font-size: 17px; text-decoration: none; cursor: pointer; white-space: nowrap; user-select: none; -webkit-user-select: none;
  transition: background-color .15s, border-color .15s, color .15s; }
@media (hover: hover) { .btn:hover { color: var(--encre); background: var(--sol); } }
.btn-plein { background: var(--accent); border-color: var(--accent); color: #fff; }
@media (hover: hover) { .btn-plein:hover { background: var(--accent-fonce); border-color: var(--accent-fonce); color: #fff; } }
.btn-sombre { background: var(--encre); color: #fff; }
@media (hover: hover) { .btn-sombre:hover { background: #24372f; color: #fff; } }
.btn-grand { min-height: 56px; font-size: 18px; padding: 0 28px; }
.btn-lien { border: 0; background: none; padding: 0 4px; min-height: 44px; font-weight: 700; text-decoration: underline;
  text-decoration-skip-ink: auto; text-decoration-thickness: 1.5px; text-underline-offset: .3em; }
.question .btn-lien { padding: 0; }
@media (hover: hover) { .btn-lien:hover { background: none; color: var(--accent); } }
.btn:disabled { background: var(--sol); border-color: var(--trait); color: var(--doux); cursor: default; }

/* ---------- en-tête employeur */
.enveloppe { width: min(1200px, 100% - 64px); margin-inline: auto; }
.tete { border-bottom: 1px solid var(--trait); background: var(--fond); }
.tete .enveloppe { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 25px; letter-spacing: -.035em;
  text-decoration: none; color: var(--encre); }
.logo-marque { width: 30px; height: 30px; flex: none; }
.tete nav { display: flex; gap: 6px; margin-inline-start: auto; align-items: center; }
.tete nav a:not(.btn) { padding: 10px 12px; font-weight: 600; text-decoration: none; border-radius: 8px; }
@media (hover: hover) { .tete nav a:not(.btn):hover { background: var(--sol); color: var(--encre); } }

/* ---------- accueil */
h1, h2, h3 { overflow-wrap: break-word; -webkit-hyphens: manual; hyphens: manual; }
.une { padding: 64px 0 72px; }
.une .enveloppe { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 56px; align-items: center; }
.une h1 { font-size: clamp(40px, 4.6vw, 62px); }
.une .chapeau { font-size: 21px; color: var(--doux); margin-top: 22px; max-width: 34em; }
.prix-ligne { display: flex; align-items: baseline; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.prix-ligne strong { font-size: 44px; font-weight: 800; letter-spacing: -.03em; }
.prix-ligne span { color: var(--encre); font-size: 19px; font-weight: 600; }
.actions { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }

.vitrine { display: grid; gap: 14px; justify-items: center; }
.vitrine-langues { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; max-width: 470px; }
.vitrine-langues button { flex: 0 0 calc(25% - 4.5px); }   /* 7 langues : 4 + 3 centrées, jamais une seule sur sa ligne */
.vitrine-langues button { min-height: 44px; min-width: 44px; padding: 0 12px; border-radius: 8px; border: 1.5px solid var(--trait);
  background: var(--fond); font-weight: 700; font-size: 15px; cursor: pointer; }
.vitrine-langues button[aria-pressed="true"] { background: var(--encre); border-color: var(--encre); color: #fff; }
.telephone { width: 340px; border-radius: 40px; border: 10px solid var(--encre); background: var(--fond); overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(19,33,28,.45); }
.telephone .ecran { height: 560px; display: flex; flex-direction: column; overflow: hidden; }
.telephone .tafel-tete { margin: 12px; border-radius: 14px; }
.telephone .points { font-size: 17px; padding-top: 6px; }
.telephone-actions { margin-top: auto; display: flex; gap: 8px; padding: 12px; border-top: 1.5px solid var(--trait); }
.telephone-actions span { min-height: 50px; border-radius: var(--r); display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; }
.telephone-actions .retour { flex: 0 0 50px; border: 2px solid var(--encre); }
.telephone-actions .suite { flex: 1; background: var(--accent); color: #fff; }

/* ---------- tableau (module et aperçu) */
.tafel-tete { padding: 22px 22px 20px; color: #fff; display: grid; gap: 14px; }
.tafel-tete .ico { width: 44px; height: 44px; }
.tafel-tete h2, .tafel-tete h3 { font-size: 26px; line-height: 1.15; }
.art-gebot { background: var(--gebot); } .art-verbot, .art-brand { background: var(--brand); }
.art-warnung { background: var(--warnung); color: var(--encre); } .art-rettung { background: var(--rettung); }
.art-info, .art-zeichen { background: var(--info); }
.forme { width: 52px; height: 52px; display: grid; place-items: center; }
.forme-gebot, .forme-verbot { border-radius: 50%; } .forme-rettung, .forme-brand, .forme-info, .forme-zeichen { border-radius: 6px; }
.forme-gebot { background: #fff; color: var(--gebot); } .forme-verbot { background: #fff; color: var(--verbot); }
.forme-brand { background: #fff; color: var(--brand); } .forme-rettung { background: #fff; color: var(--rettung); }
.forme-info, .forme-zeichen { background: #fff; color: var(--encre); }
.forme-warnung { width: 58px; height: 52px; background: var(--encre); color: var(--warnung);
  clip-path: polygon(50% 0, 100% 100%, 0 100%); align-items: end; padding-bottom: 8px; }
.forme-warnung .ico { width: 26px; height: 26px; }
.forme .ico { width: 30px; height: 30px; }
.points { list-style: none; margin: 0; padding: 20px 22px; display: grid; gap: 14px; font-size: 18px; line-height: 1.45; }
.points li { display: grid; grid-template-columns: 10px 1fr; gap: 12px; }
.points li::before { content: ""; width: 10px; height: 10px; margin-top: .5em; background: currentColor; border-radius: 2px; }
.points-zeichen li { grid-template-columns: 32px 1fr; align-items: start; }
.points-zeichen li::before { display: none; }
.signe { width: 30px; height: 30px; margin-top: 1px; }
.signe-gebot { background: var(--gebot); border-radius: 50%; }
.signe-verbot { border: 5px solid var(--verbot); border-radius: 50%; position: relative; overflow: hidden; }
.signe-verbot::after { content: ""; position: absolute; inset: 50% -4px auto; height: 5px; margin-top: -2.5px; background: var(--verbot); transform: rotate(-45deg); }
.signe-warnung { background: var(--warnung); clip-path: polygon(50% 4%, 100% 96%, 0 96%); }
.signe-rettung { background: var(--rettung); border-radius: 3px; }
.signe-brand { background: var(--brand); border-radius: 3px; }

.bei-uns { margin: 0 22px 22px; padding: 16px 18px; background: var(--sol); border-radius: var(--r); display: grid; gap: 12px;
  border-inline-start: 6px solid var(--encre); }
.bei-uns h3 { font-size: 15px; font-weight: 800; letter-spacing: 0; text-transform: none; color: var(--doux); }
.bei-uns dl { margin: 0; display: grid; gap: 10px; }
.bei-uns dt { font-size: 15px; color: var(--doux); font-weight: 600; }
.bei-uns dd { margin: 2px 0 0; font-size: 18px; font-weight: 700; white-space: pre-line; overflow-wrap: anywhere; }

/* ---------- sections de l'accueil */
.bande { padding: 80px 0; }
.bande-sol { background: var(--sol); }
.bande h2 { font-size: clamp(30px, 3vw, 40px); max-width: 22em; }
.bande .intro { color: var(--doux); font-size: 19px; margin-top: 14px; max-width: 40em; }
.themes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
/* porte 3 04/12 : en-têtes et rangées de boutons au même niveau d'une carte à l'autre (sous-grille : l'en-tête le plus haut
   donne sa hauteur aux trois ; icône en haut, titre en bas) */
.theme-carte { background: var(--fond); border: 1.5px solid var(--trait); border-radius: 14px; overflow: hidden; display: grid;
  grid-row: span 2; grid-template-rows: subgrid; row-gap: 0; }
.theme-carte .tafel-tete { min-height: 150px; grid-template-rows: auto 1fr; }
.theme-carte .tafel-tete h3 { align-self: end; }
.theme-carte .corps { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.theme-carte .corps p { color: var(--doux); }
.theme-carte .meta { font-weight: 700; font-size: 15px; color: var(--doux); }
.theme-carte .liens { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: 6px; }
.etapes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 40px; }
.etape { display: grid; gap: 12px; align-content: start; }
.etape .pastille { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: var(--encre); color: #fff; }
.etape .pastille .ico { width: 26px; height: 26px; }
.etape h3 { font-size: 22px; }
.etape p { color: var(--doux); }
.partage { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 36px; }
.partage > div { border-radius: 14px; padding: 28px; display: grid; gap: 14px; align-content: start; }
.partage .nous { background: var(--encre); color: #fff; }
.partage .vous { border: 2px solid var(--encre); }
.partage h3 { font-size: 22px; }
.partage ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.partage li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; }
.partage li .ico { width: 20px; height: 20px; margin-top: 3px; }
.prix-bloc { display: grid; grid-template-columns: auto 1fr; gap: 48px; align-items: start; margin-top: 36px; }
.prix-bloc .grand { font-size: 96px; font-weight: 800; letter-spacing: -.045em; line-height: .9; }
.prix-bloc .grand small { display: block; font-size: 19px; font-weight: 600; letter-spacing: 0; color: var(--doux); margin-top: 14px; }
.exemples { display: grid; gap: 0; border-top: 1.5px solid var(--trait); }
.exemples div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1.5px solid var(--trait); }
.exemples strong { white-space: nowrap; }
.note { color: #33433c; font-size: 17px; margin-top: 16px; max-width: 52em; }
.gratuit { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 32px; }
.gratuit > div { background: var(--fond); border-radius: 14px; padding: 24px; border: 1.5px solid var(--trait); display: grid; gap: 10px; align-content: start; }
.gratuit h3 { font-size: 20px; }
.faq { margin-top: 28px; border-top: 1.5px solid var(--trait); max-width: 880px; }
.faq details { border-bottom: 1.5px solid var(--trait); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 64px; padding: 14px 0; font-weight: 700; font-size: 19px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { transition: transform .2s; }
.faq details[open] summary .ico { transform: rotate(180deg); }
.faq details > div { padding: 0 0 22px; color: var(--doux); display: grid; gap: 10px; max-width: 46em; }

/* ---------- pied */
body:not(.u) { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
body:not(.u) > main { flex: 1 0 auto; }
.pied { background: var(--encre); color: #d9e2dd; padding: 48px 0 40px; margin-top: 0; }
.pied .enveloppe { display: grid; gap: 22px; }
.pied .logo { color: #fff; }
.pied nav { display: flex; flex-wrap: wrap; gap: 4px 6px; }
.pied nav a { color: #fff; padding: 10px 10px 10px 0; font-weight: 600; }
@media (hover: hover) { .pied nav a:hover { color: #9fe0bd; } }
.pied p { font-size: 15px; max-width: 60em; }

/* ---------- pages de texte (thème, légal) */
.page-texte { padding: 56px 0 80px; }
.page-texte .enveloppe { max-width: 860px; }
.page-texte h1 { font-size: clamp(34px, 3.6vw, 46px); }
.page-texte h2 { font-size: 26px; margin-top: 40px; }
.page-texte h3 { font-size: 20px; margin-top: 26px; }
.page-texte p, .page-texte li { margin-top: 12px; }
.page-texte ul, .page-texte ol { padding-inline-start: 1.3em; }
.page-texte dl { display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; margin-top: 20px; }
.page-texte dt { font-weight: 700; } .page-texte dd { margin: 0; white-space: pre-line; overflow-wrap: anywhere; }
.fil { display: flex; gap: 8px; color: var(--doux); font-weight: 600; margin-bottom: 18px; flex-wrap: wrap; }
.fil a { color: var(--doux); }
.tafel-liste { display: grid; gap: 20px; margin-top: 32px; }
.tafel-liste article { border: 1.5px solid var(--trait); border-radius: 14px; overflow: hidden; }
.tafel-liste .tafel-tete { grid-template-columns: auto 1fr; align-items: center; padding: 16px 20px; }
.tafel-liste .tafel-tete h2 { font-size: 22px; margin: 0; }
.tafel-liste .forme { width: 44px; height: 44px; } .tafel-liste .forme .ico { width: 24px; height: 24px; }
.tafel-liste .forme-warnung { width: 50px; height: 44px; padding-bottom: 6px; } .tafel-liste .forme-warnung .ico { width: 20px; height: 20px; }
.tafel-liste .points { font-size: 17px; padding: 18px 20px 4px; }
.quelle { padding: 0 20px 16px; font-size: 16px; color: #33433c; }
.encart { margin-top: 32px; padding: 22px 24px; border-radius: 14px; background: var(--sol); display: grid; gap: 12px; }
.probe-langues { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- formulaires */
.formulaire { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.page-texte p + .formulaire { margin-top: 24px; }
.bloc { border: 1.5px solid var(--trait); border-radius: 14px; padding: 26px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
/* porte 3 04/12 : un nom sans espace (« Wolfeschlegel…-Müller ») élargissait le tableau au-delà de sa colonne (min-content) */
.bloc > h2 { font-size: 22px; }
.champ { display: grid; gap: 8px; align-content: start; }
.champ label, .champ .label { font-weight: 700; }
.champ input[type=text], .champ input[type=email], .champ input:not([type]), .champ input[type=number], .champ textarea, .champ select {
  width: 100%; min-height: 52px; padding: 12px 14px; border: 2px solid #b9c4be; border-radius: var(--r); background: var(--fond);
  font-size: 18px; }
.champ textarea { min-height: 120px; resize: vertical; line-height: 1.45; }
.champ select { -webkit-appearance: none; appearance: none; padding-inline-end: 46px; background: var(--fond) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2313211c' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 20px; }
.champ input:focus, .champ textarea:focus, .champ select:focus { border-color: var(--gebot); outline: none; box-shadow: 0 0 0 3px rgba(27,92,176,.2); }
.champ .aide { color: var(--doux); font-size: 15px; }
.champ.faux input, .champ.faux textarea { border-color: var(--erreur); }
.message-faux { color: var(--erreur); font-weight: 700; font-size: 15px; display: flex; gap: 6px; align-items: start; }
.deux { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
/* Deux champs côte à côte : libellé, champ et message d'erreur partagent les pistes de la rangée (subgrid). Sans cela, un
   libellé sur deux lignes décalait son champ de 26 px (rattrapage iPad du Socle 05/12 20:41, iPad portrait, /bestellen). */
/* Écarts en marges, jamais en gap : le gap du parent resterait dans les pistes de la rangée (10 px de trop au bas de chaque paire). */
.deux { row-gap: 0; }
.deux > .champ { grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; }
.deux > .champ > label { margin-bottom: 8px; }
.deux > .champ:nth-child(n+3) > label { margin-top: 20px; }
.deux > .champ > .message-faux { margin-top: 8px; }   /* piste vide sans erreur : aucun écart */
.adresse { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 20px; }
.choix-themes { display: grid; gap: 12px; }
.case { display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: center; min-height: 60px; padding: 12px 16px;
  border: 2px solid var(--trait); border-radius: var(--r); cursor: pointer; }
.case:has(input:checked) { border-color: var(--encre); background: var(--sol); }
.case input { width: 24px; height: 24px; accent-color: var(--accent); margin: 0; }
.case .titre { font-weight: 700; }
.case-simple { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; cursor: pointer; min-height: 44px; }
.case-simple input { width: 24px; height: 24px; accent-color: var(--accent); margin: 2px 0 0; }
.commande { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: start; margin-top: 28px; }
.page-texte .bloc > * { margin-top: 0; }
.recap { position: sticky; top: 24px; border-radius: 14px; background: var(--encre); color: #fff; padding: 26px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.recap .ligne { display: flex; justify-content: space-between; gap: 12px; }
/* vente fermée : le bouton désactivé porte une phrase entière, elle passe à la ligne au lieu de déborder (05/12) */
.recap .btn { white-space: normal; text-align: center; padding-block: 10px; }
.recap .calcul { font-size: 18px; font-variant-numeric: tabular-nums; }
.recap .calcul:empty { display: none; }
.recap .total { font-size: 34px; font-weight: 800; letter-spacing: -.02em; }
.recap .total.vide { font-size: 18px; font-weight: 700; letter-spacing: 0; }
.recap .petit { font-size: 16px; color: #e3eae6; }
.recap .btn-plein { width: 100%; }
.ferme { border: 2px solid var(--encre); border-radius: 14px; padding: 22px 24px; display: grid; gap: 8px; }
details.plus summary { cursor: pointer; font-weight: 700; min-height: 44px; display: flex; align-items: center; gap: 8px; list-style: none; }
details.plus summary::-webkit-details-marker { display: none; }
details.plus[open] summary .ico { transform: rotate(180deg); }

/* ---------- espace employeur */
.konto-tete { padding: 40px 0 8px; display: grid; gap: 8px; }
.konto-tete h1 { font-size: 36px; }
.konto-tete .meta { color: var(--doux); display: flex; gap: 6px 20px; flex-wrap: wrap; }
.hinweis { margin: 20px 0 0; padding: 14px 18px; border-radius: var(--r); background: #e6f3ec; border-inline-start: 6px solid var(--accent);
  font-weight: 600; }
.hinweis.warn { background: #fdf3d6; border-color: var(--warnung); }
.konto-grille { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; padding: 28px 0 80px; align-items: start; }
.konto-cote { display: grid; gap: 20px; position: sticky; top: 24px; }
.carte { border: 1.5px solid var(--trait); border-radius: 14px; padding: 22px; display: grid; gap: 14px; }
.carte h2 { font-size: 21px; }
.compteur { display: flex; align-items: baseline; gap: 8px; }
.compteur strong { font-size: 40px; font-weight: 800; letter-spacing: -.03em; }
.barre { height: 10px; border-radius: 5px; background: var(--sol); overflow: hidden; }
.barre span { display: block; height: 100%; background: var(--accent); }
.tableau { width: 100%; border-collapse: collapse; }
.tableau th { text-align: start; font-size: 14px; color: var(--doux); font-weight: 700; padding: 10px 12px; border-bottom: 2px solid var(--encre); }
.tableau td { padding: 14px 12px; border-bottom: 1.5px solid var(--trait); vertical-align: middle; }
.tableau .nom { font-weight: 700; display: block; overflow-wrap: anywhere; }
.personnes td:first-child { min-width: 11em; }
.personnes .aide { display: block; }
.frage-zahl { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 15px; font-weight: 700; color: var(--gebot); min-height: 32px; }
.frage-zahl .ico { width: 18px; height: 18px; }
.actions-personne .lien-perso { justify-content: flex-start; }
.icone-btn:disabled { color: #9aa8a1; background: var(--sol); cursor: default; }
.qr-lien { font-size: 16px; color: var(--encre); overflow-wrap: anywhere; user-select: text; -webkit-user-select: text; text-align: center; }
.visuel-cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.etat { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 15px; white-space: nowrap; }
.etat-ok { color: var(--accent); } .etat-offen { color: var(--doux); }
.etat .carre { width: 12px; height: 12px; border-radius: 3px; background: currentColor; }
.etat-offen .carre { background: none; border: 2px solid currentColor; }
.lien-perso { display: flex; gap: 8px; align-items: center; }
.lien-perso input { flex: 1; min-width: 0; min-height: 44px; padding: 8px 10px; border: 1.5px solid var(--trait); border-radius: 8px;
  font-size: 15px; background: var(--sol); }
.icone-btn { width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 8px; border: 1.5px solid var(--trait);
  background: var(--fond); cursor: pointer; flex: none; color: var(--encre); }
@media (hover: hover) { .icone-btn:hover { background: var(--sol); color: var(--encre); } }
.question { border-inline-start: 5px solid var(--gebot); padding: 12px 16px; background: var(--sol); border-radius: 0 var(--r) var(--r) 0;
  display: grid; gap: 6px; }
.question.erledigt { border-color: var(--trait); opacity: .7; }
.question .qui { font-weight: 700; font-size: 15px; color: var(--doux); }
.question p { overflow-wrap: anywhere; white-space: pre-line; }
.ajout { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 16px; align-items: end; }
.qr-boite { display: grid; grid-template-columns: 110px 1fr; gap: 16px; align-items: center; }
.qr-boite img { width: 110px; height: 110px; }
dialog { border: 0; border-radius: 16px; padding: 0; max-width: min(520px, 100vw - 32px); box-shadow: 0 30px 80px rgba(0,0,0,.35);
  max-height: calc(100dvh - 32px); overflow-y: auto; overscroll-behavior: contain; }
#qr-dialogue { width: 420px; } /* sinon la fenêtre prend la largeur du lien, qui touche les deux bords et paraît coupé (porte 3, 05/12) */
dialog::backdrop { background: rgba(19,33,28,.55); }

/* ---------- salarié : écrans au téléphone */
.u { min-height: 100dvh; display: flex; flex-direction: column; background: var(--fond); }
.u-barre { display: flex; align-items: center; gap: 10px; padding: 10px 12px; padding-top: max(10px, env(safe-area-inset-top));
  border-bottom: 1px solid var(--trait); min-height: 64px; }
.u-barre .titre { font-weight: 800; flex: 1; min-width: 0; font-size: 16px; line-height: 1.2; overflow-wrap: break-word; hyphens: auto;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
.u-langue { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border-radius: 8px;
  border: 1.5px solid var(--trait); background: var(--fond); font-weight: 700; cursor: pointer; text-decoration: none; }
.progression { display: flex; gap: 4px; padding: 10px 12px 0; }
.progression span { flex: 1; height: 5px; border-radius: 3px; background: var(--sol); }
.progression span.fait { background: var(--encre); }
.u-corps { flex: 1; width: min(640px, 100%); margin-inline: auto; display: flex; flex-direction: column; }
.u-ecran { flex: 1; display: flex; flex-direction: column; padding-bottom: 96px; }
.u-ecran .tafel-tete { margin: 12px; border-radius: 14px; }
.u-ecran .points { padding-top: 8px; }
.u-actions { position: fixed; inset: auto 0 0 0; display: flex; gap: 10px; padding: 12px; padding-bottom: max(12px, env(safe-area-inset-bottom));
  background: var(--fond); border-top: 1px solid var(--trait); z-index: 5; }  /* opaque : à 96 %, le lien « Frage stellen » passé dessous restait visible en fantôme (porte 3, 05/12 21:49, bg 390) */
.u-actions .interieur { width: min(640px, 100%); margin-inline: auto; display: flex; gap: 10px; }
.u-actions .btn { flex: 1; min-height: 56px; }
.u-actions .btn-retour { flex: 0 0 56px; padding: 0; }
.u-accueil { padding: 24px 16px 40px; display: grid; gap: 22px; }
.u-accueil h1 { font-size: 32px; }
.u-accueil .firma { color: var(--doux); font-weight: 600; margin-top: 6px; }
.u-themes { display: grid; gap: 12px; }
.u-theme { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 14px; min-height: 84px;
  border: 2px solid var(--trait); border-radius: 14px; text-decoration: none; color: var(--encre); }
@media (hover: hover) { .u-theme:hover { border-color: var(--encre); color: var(--encre); } }
.u-theme .forme { width: 56px; height: 56px; border-radius: 12px; color: #fff; }
.u-theme .forme .ico { width: 28px; height: 28px; }
.u-theme .titre, .u-theme .sous { display: block; }
.u-theme .titre { font-weight: 800; font-size: 19px; line-height: 1.2; }
.u-theme .sous { font-size: 15px; color: var(--doux); margin-top: 4px; font-weight: 600; }
.u-theme.fait .sous { color: var(--accent); }
.u-theme > .ico { width: 24px; height: 24px; }
.u-langues { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.u-langues a { min-height: 52px; display: flex; align-items: center; justify-content: center; border: 2px solid var(--trait);
  border-radius: 10px; font-weight: 700; font-size: 18px; text-decoration: none; }
.u-langues a[aria-current="true"] { border-color: var(--encre); background: var(--encre); color: #fff; }
.feuille { padding: 22px; display: grid; gap: 16px; }
.feuille h2 { font-size: 22px; }
.feuille .rangee { display: flex; gap: 10px; }
.feuille .rangee .btn { flex: 1 1 auto; } /* toute la largeur : seul, « fermer » se lisait mal aligné en arabe (porte 3, 05/12) */
.feuille h2[tabindex]:focus { outline: none; }
/* boutons de la feuille toujours visibles quand elle défile (questions prêtes au téléphone, 04/12) */
dialog .feuille > .rangee { position: sticky; bottom: 0; margin: 0 -22px -22px; padding: 14px 22px 22px; background: var(--fond);
  border-top: 1px solid var(--trait); }
.vorlagen { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }
.vorlagen legend { font-weight: 700; margin-bottom: 8px; padding: 0; }
.vorlage { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: center; min-height: 48px; padding: 10px 14px;
  border: 1.5px solid var(--trait); border-radius: 10px; cursor: pointer; line-height: 1.35; }
.vorlage input { width: 20px; height: 20px; margin: 0; accent-color: var(--encre); }
.vorlage:has(input:checked) { border-color: var(--encre); background: var(--sol); }

/* contrôle */
.intro-texte { margin: 0; padding: 8px 22px; font-size: 18px; line-height: 1.45; }
.quiz { padding: 20px 16px 0; display: grid; gap: 18px; align-content: start; }
.quiz .compte { font-weight: 700; color: var(--doux); }
.quiz h2 { font-size: 24px; line-height: 1.25; }
.reponses { display: grid; gap: 10px; }
.reponse { display: flex; gap: 12px; align-items: center; text-align: start; min-height: 60px; padding: 14px 16px; border-radius: 12px;
  border: 2px solid var(--trait); background: var(--fond); font-size: 18px; font-weight: 600; cursor: pointer; width: 100%; }
@media (hover: hover) { .reponse:hover:not(:disabled) { border-color: var(--encre); } }
.reponse:disabled { cursor: default; }
.reponse.juste { border-color: var(--accent); background: #e6f3ec; }
.reponse.fausse { border-color: var(--erreur); background: #fbe9e7; }
.reponse .ico { width: 22px; height: 22px; }
.explication { padding: 16px 18px; border-radius: 12px; display: grid; gap: 6px; font-size: 17px; }
.explication.juste { background: #e6f3ec; } .explication.fausse { background: #fbe9e7; }
.explication strong { font-size: 19px; }
.fin { padding: 32px 16px; display: grid; gap: 18px; justify-items: start; }
.fin .rond { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; }
.fin .rond .ico { width: 38px; height: 38px; }
.fin h2 { font-size: 30px; }
.confirmer { display: grid; grid-template-columns: 32px 1fr; gap: 14px; align-items: start; padding: 18px; border: 2px solid var(--encre);
  border-radius: 12px; font-size: 19px; font-weight: 700; cursor: pointer; width: 100%; }
.confirmer input { width: 28px; height: 28px; accent-color: var(--accent); margin: 0; }
.bandeau-probe { background: var(--warnung); color: var(--encre); font-weight: 800; text-align: center; padding: 6px 12px; font-size: 15px; margin-bottom: 20px; }  /* collé au titre « Bezahlung » (porte 5, 05/12 21:22) */

/* ---------- écrans étroits */
@media (max-width: 1100px) {
  .une .enveloppe { grid-template-columns: minmax(0, 1fr); }
  .themes { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .commande, .konto-grille { grid-template-columns: 1fr; }
  .recap, .konto-cote { position: static; }
  .etapes, .partage, .gratuit { grid-template-columns: 1fr; }
  .prix-bloc { grid-template-columns: 1fr; gap: 24px; }
}
/* téléphone : largeur du nom (« Українська » déborde d'un quart de ligne à 15 px) ; 4 + 3, et 3 + 2 + 2 sous 355 px */
@media (max-width: 500px) { .vitrine-langues { max-width: 390px; } .vitrine-langues button { flex: 0 0 auto; padding: 0 6px; } }
@media (max-width: 354px) { .vitrine-langues button { padding: 0 18px; } }
@media (max-width: 600px) {
  body { font-size: 17px; }
  .enveloppe { width: calc(100% - 32px); }
  .tete .enveloppe { min-height: 64px; gap: 12px; }
  .tete nav a:not(.btn) { display: none; }
  .tete nav .btn { min-height: 44px; padding: 0 16px; }
  .une { padding: 36px 0 48px; }
  .une .chapeau { font-size: 18px; }
  .telephone { width: 100%; max-width: 340px; }
  .themes { grid-template-columns: 1fr; }
  .bande { padding: 56px 0; }
  .prix-bloc .grand { font-size: 72px; }
  .deux, .ajout { grid-template-columns: 1fr; }
  .deux { row-gap: 20px; }
  .deux > .champ { grid-row: auto; grid-template-rows: none; row-gap: 8px; }
  .deux > .champ > label, .deux > .champ:nth-child(n+3) > label, .deux > .champ > .message-faux { margin: 0; }
  .bloc { padding: 20px 16px; }
  .page-texte dl { grid-template-columns: 1fr; gap: 2px; }
  .page-texte dd { margin-bottom: 12px; }
  /* tableaux en cartes sous 600 px (CADRE) */
  .tableau thead { display: none; }
  .tableau, .tableau tbody, .tableau tr, .tableau td { display: block; width: 100%; }
  .tableau tr { border: 1.5px solid var(--trait); border-radius: 12px; padding: 6px 14px; margin-bottom: 12px; }
  .tableau td { border: 0; padding: 8px 0; }
  .tableau td[data-label]::before { content: attr(data-label); display: block; font-size: 14px; color: var(--doux); font-weight: 700; }
  .personnes td[data-label] { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 6px 0; }
  .personnes td[data-label]::before { font-size: 15px; font-weight: 600; color: var(--encre); }
  .personnes td.personne { padding-bottom: 10px; border-bottom: 1.5px solid var(--trait); margin-bottom: 4px; }
  .personnes td.actions-personne { padding-top: 10px; }
  .actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
@media print {
  .tete, .pied, .u-actions, .u-barre, .actions { display: none !important; }
}
.sans-marge { margin: 0 !important; }
.avec-marge { margin-top: 16px; }
.chapeau { font-size: 20px; color: var(--doux); margin-top: 16px; }
.page-texte .actions { margin-top: 24px; }
.page-texte .enveloppe.large { max-width: 1200px; }
.case-simple.faux span { color: var(--erreur); }
.formulaire .bloc .aide { color: var(--doux); }
.barre .w-0 { width: 0%; }
.barre .w-5 { width: 5%; }
.barre .w-10 { width: 10%; }
.barre .w-15 { width: 15%; }
.barre .w-20 { width: 20%; }
.barre .w-25 { width: 25%; }
.barre .w-30 { width: 30%; }
.barre .w-35 { width: 35%; }
.barre .w-40 { width: 40%; }
.barre .w-45 { width: 45%; }
.barre .w-50 { width: 50%; }
.barre .w-55 { width: 55%; }
.barre .w-60 { width: 60%; }
.barre .w-65 { width: 65%; }
.barre .w-70 { width: 70%; }
.barre .w-75 { width: 75%; }
.barre .w-80 { width: 80%; }
.barre .w-85 { width: 85%; }
.barre .w-90 { width: 90%; }
.barre .w-95 { width: 95%; }
.barre .w-100 { width: 100%; }
#qr-img { width: 260px; height: 260px; margin-inline: auto; }
.ajout .champ .btn { margin-top: 8px; width: 100%; }
.carte .btn { justify-content: flex-start; }
.titre-sprache { display: flex; gap: 10px; align-items: center; font-size: 20px; margin-bottom: 12px; }
.frage-lien { align-self: flex-start; margin: 4px 16px 0; color: var(--gebot); }
.feuille .message { font-weight: 700; color: var(--accent); min-height: 1.5em; }
.u-actions[hidden] { display: none; }
.avec-marge-grande { margin-top: 64px; padding-top: 48px; border-top: 2px solid var(--encre); }

/* Donnée du Betrieb en allemand dans une page RTL : isolée en LTR, mais rangée du côté où l'on lit (arabe : à droite). */
[dir=rtl] dd[dir=ltr] { text-align: right; }

.insecable { white-space: nowrap; }

/* porte 3, 04/12 */
.iso { display: inline-block; }
.question .aide { color: var(--encre); }
#f-frage[data-etat="envoye"] :is(.vorlagen, .champ, button[type="submit"], .aide) { display: none; }
#f-frage[data-etat="envoye"] .message { font-size: 20px; padding: 18px 0; }
#f-frage[data-etat="erreur"] .message { color: var(--erreur); }

/* Cases à cocher dessinées : la case native de WebKit (accent-color) change de teinte au survol et à l'appui, d'une case
   à l'autre selon la position du pointeur (porte 3, 05/12). Même dessin partout, couleur fixe. */
input[type="checkbox"] { appearance: none; -webkit-appearance: none; flex: none; display: inline-grid; place-content: center;
  border: 2px solid var(--encre); border-radius: 5px; background: #fff; cursor: pointer; }
input[type="checkbox"]:checked { border-color: var(--accent); background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 82% no-repeat; }
input[type="checkbox"]:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.faux input[type="checkbox"]:not(:checked) { border-color: var(--erreur); }
