/*
Theme Name:   Kev-Gruppe
Theme URI:    https://kev-gruppe.de
Author:       Kev-Gruppe
Description:  Theme bloc sur mesure pour Kev-Gruppe — credits et subventions aux particuliers. Construit a partir d'une maquette HTML validee, sans constructeur de pages.
Version:      1.4.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 7.4
License:      GPL-2.0-or-later
License URI:  https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  kredit-anker
Tags:         full-site-editing, block-patterns, custom-colors, translation-ready
*/

/* =====================================================================
   1 — FEUILLE DE LA MAQUETTE
   Reprise telle quelle depuis site/styles.css. Les classes des composants
   sont posees sur les blocs via className : les selecteurs fonctionnent
   donc sans modification.
   ===================================================================== */

/* ============================================================
   Kev-Gruppe — maquette phase 2
   Palette relevee au pixel sur la reference (Finanzero)
   ============================================================ */
:root{
  --teal:#0D3C3E;        /* bandeau sombre du formulaire   */
  --teal-deep:#042B2B;   /* survol du bandeau              */
  --sage:#4C8672;        /* etat selectionne               */
  --green:#60D16A;       /* bouton d'action                */
  --green-dk:#4EC158;    /* survol                         */
  --mint:#F5FCF4;        /* fond de bande                  */
  --mint-2:#E2EFEA;      /* remplissage option non choisie */
  --leaf-g:#D9F5CC;      /* forme decorative verte         */
  --leaf-y:#F3E09B;      /* forme decorative jaune         */
  --ink:#16201F;         /* texte quasi noir               */
  --gray:#B3B3B3;        /* le gris des titres bicolores   */
  --muted:#6B7471;       /* texte courant                  */
  --line:#E6EAE8;
  --white:#FEFFFE;
  --r-card:14px;
  --r-btn:8px;
  --wrap:1180px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;background:var(--white);color:var(--ink);
  font:400 16px/1.65 Mulish,system-ui,sans-serif;
  -webkit-font-smoothing:antialiased;
}
/* height:auto neutralise les attributs width/height du HTML,
   sans quoi ils l'emportent sur aspect-ratio et etirent les images */
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
h1,h2,h3{margin:0;line-height:1.12;letter-spacing:-.018em;hyphens:none;text-wrap:balance;font-weight:800}
h1{font-size:clamp(34px,4.4vw,56px)}
h2{font-size:clamp(28px,3.3vw,42px)}
h3{font-size:19px;letter-spacing:-.01em}
p{margin:0}
.g{color:var(--gray)}                      /* le mot gris du titre bicolore */
/* padding-inline et non le raccourci : .wrap ne regle QUE l'horizontal.
   Les classes de section ne reglent QUE le vertical (padding-block).
   Les deux se posent souvent sur le meme element — sans cette separation
   stricte, le dernier declare efface l'axe de l'autre. */
/* NE PAS poser overflow-x sur body ou html pour rattraper les quelques
   pixels de depassement de l'image de droite avant son apparition
   (transform:scale(1.07) sur .rv-volet-g, comme dans la maquette) :
   « clip » comme « hidden » sur un seul axe force l'autre axe a auto, le
   body devient un conteneur de defilement, et le position:sticky de
   l'en-tete cesse d'operer — mesure sur place, l'en-tete partait a -1161 px.
   Le depassement dure le temps de l'animation et vaut mieux que cela. */
.wrap{max-width:var(--wrap);margin:0 auto;padding-inline:28px}
.band{position:relative;overflow:hidden}
.band--mint{background:var(--mint)}
.rule{height:1px;background:var(--line);max-width:var(--wrap);margin:0 auto}
.lede{color:var(--muted);font-size:16.5px;max-width:52ch}

/* --- formes decoratives : un angle vif, trois arrondis --- */
.leaf{position:absolute;z-index:0;pointer-events:none}
.leaf--y{background:var(--leaf-y)}
.leaf--g{background:var(--leaf-g)}

/* --- boutons --- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;
  font:700 15px/1 Mulish,sans-serif;padding:15px 26px;border-radius:var(--r-btn);
  border:1.5px solid transparent;cursor:pointer;transition:.18s;white-space:nowrap}
.btn--green{background:var(--green);color:#0A2B16}
.btn--green:hover{background:var(--green-dk)}
.btn--ghost{background:var(--white);border-color:var(--ink);color:var(--ink)}
.btn--ghost:hover{background:var(--ink);color:var(--white)}
.btn--line{background:transparent;border-color:var(--line);color:var(--ink)}
.btn--line:hover{border-color:var(--ink)}
.btn--wide{width:100%}

/* ===================== EN-TETE ===================== */
.hdr{position:sticky;top:0;z-index:60;background:rgba(254,255,254,.94);
  backdrop-filter:blur(8px);border-bottom:1px solid var(--line)}
.hdr__in{display:flex;align-items:center;gap:40px;height:74px}
.logo{display:flex;align-items:center;gap:9px;font:800 20px/1 Mulish,sans-serif;letter-spacing:-.03em}
.logo svg{flex:none}
.nav{display:flex;gap:30px;font-weight:600;font-size:15px;margin-left:6px}
.nav a{color:#2A3433;transition:.15s}
.nav a:hover,.nav a[aria-current]{color:var(--teal)}
.hdr__end{margin-left:auto;display:flex;align-items:center;gap:20px}
.hdr__tel{font-weight:700;font-size:15px;color:var(--teal)}
.burger{display:none;background:none;border:0;padding:8px;cursor:pointer}

/* ===================== HERO ===================== */
.hero{background:var(--mint);padding:74px 0 86px}
.hero__grid{display:grid;grid-template-columns:1fr 410px;gap:64px;align-items:start;position:relative;z-index:2}
.hero h1{margin-bottom:22px}
.hero .lede{margin-bottom:30px}
.hero__cta{display:flex;align-items:center;gap:22px;margin-bottom:14px;flex-wrap:wrap}
.hero__note{font-size:14px;color:var(--muted);font-weight:600}
.trust{display:flex;gap:24px;margin-top:44px;flex-wrap:wrap}
.trust div{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:700;
  color:#93A09C;letter-spacing:.01em;white-space:nowrap}
.trust svg{flex:none}
/* quart de disque dans l'angle, comme la reference */
.hero .leaf--a{width:250px;height:250px;border-radius:0 0 0 100%;top:0;right:0}
.hero .leaf--b{width:88px;height:88px;border-radius:100% 100% 0 100%;top:332px;right:456px}
.hero .leaf--c{width:170px;height:170px;border-radius:0 100% 0 0;bottom:0;left:0}
.hero .leaf--d{display:none}

/* ---------- carte formulaire : l'objet central ---------- */
.quote{background:var(--white);border-radius:var(--r-card);overflow:hidden;
  box-shadow:0 18px 46px -18px rgba(13,60,62,.30),0 2px 8px rgba(13,60,62,.05)}
.quote__head{background:var(--teal);color:#DCEAE6;text-align:center;padding:17px 20px;
  font:700 12.5px/1 Mulish,sans-serif;letter-spacing:.16em;text-transform:uppercase}
.quote__body{padding:26px 26px 28px}
.step{display:none}
.quote[data-step="1"] .step[data-s="1"],
.quote[data-step="2"] .step[data-s="2"],
.quote[data-step="3"] .step[data-s="3"],
.quote[data-step="4"] .step[data-s="4"]{display:block}
.q-ask{text-align:center;font-weight:700;font-size:15.5px;margin-bottom:18px}
.q-ask--l{text-align:left;margin-bottom:8px;font-size:14px}
.q-ask--mt{margin-top:22px}
/* pastille du montant : saisissable, l'echelle va de 500 a 500.000 */
.amount{display:block;margin:0 auto 10px;background:var(--sage);color:#fff;
  font:800 15px/1 Mulish,sans-serif;padding:9px 14px;border-radius:30px;width:142px;
  text-align:center;border:0;outline:0;appearance:none}
.amount:focus{box-shadow:0 0 0 3px rgba(76,134,114,.32)}
/* points d'avancement — ajout hors reference, signale au client */
.dots{display:flex;gap:6px;justify-content:center;margin-top:9px}
.dots i{width:6px;height:6px;border-radius:50%;background:rgba(220,234,230,.34);transition:.2s}
.quote[data-step="1"] .dots i:nth-child(1),
.quote[data-step="2"] .dots i:nth-child(2),
.quote[data-step="3"] .dots i:nth-child(3),
.quote[data-step="4"] .dots i:nth-child(4){background:var(--green);width:18px;border-radius:3px}
.slider{width:100%;-webkit-appearance:none;appearance:none;height:5px;border-radius:5px;
  background:linear-gradient(var(--sage),var(--sage)) 0/40% no-repeat var(--mint-2);outline:0}
.slider::-webkit-slider-thumb{-webkit-appearance:none;width:19px;height:19px;border-radius:50%;
  background:var(--sage);border:3px solid #fff;box-shadow:0 1px 5px rgba(0,0,0,.25);cursor:pointer}
.slider::-moz-range-thumb{width:19px;height:19px;border-radius:50%;background:var(--sage);
  border:3px solid #fff;box-shadow:0 1px 5px rgba(0,0,0,.25);cursor:pointer}
.scale{display:flex;justify-content:space-between;font-size:12px;color:#9AA5A2;
  font-weight:600;margin:7px 0 20px}
.opts{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.opts--1{grid-template-columns:1fr}
.opts--3{grid-template-columns:repeat(3,1fr)}
.opts--3 .opt{padding:12px 4px;font-size:13px}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.q-err{display:none;background:#FDEDED;color:#8B2F2F;border-radius:var(--r-btn);
  padding:10px 12px;font-size:13px;font-weight:600;margin-bottom:12px}
.quote.is-err .q-err{display:block}
.field input:invalid:not(:placeholder-shown){border-color:#D98A8A}
.opt{background:var(--mint);border:1.5px solid transparent;border-radius:var(--r-btn);
  padding:12px 10px;font:600 13.5px/1 Mulish,sans-serif;color:#8C9794;text-align:center;
  cursor:pointer;transition:.15s}
.opt:hover{border-color:var(--sage);color:var(--sage)}
.opt[aria-pressed="true"]{background:var(--sage);color:#fff;border-color:var(--sage)}
.q-foot{margin-top:20px}
.q-back{display:flex;gap:10px}
.q-back .btn{flex:1}
.field{margin-bottom:13px}
.field label{display:block;font-size:13px;font-weight:700;margin-bottom:6px}
.field input,.field select{width:100%;padding:12px 13px;border:1.5px solid var(--line);
  border-radius:var(--r-btn);font:400 14.5px Mulish,sans-serif;color:var(--ink);background:#fff}
.field input::placeholder{color:#B6BEBB}
.field input:focus,.field select:focus{outline:0;border-color:var(--sage)}
.dob{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px}
.consent{display:flex;gap:9px;align-items:flex-start;font-size:12.5px;color:var(--muted);
  margin:14px 0 16px;line-height:1.5}
.consent input{margin:2px 0 0;accent-color:var(--sage);flex:none}
.consent a{text-decoration:underline}

/* ===================== BANDE CARROUSEL =====================
   Cinq visuels pleine largeur, chacun avec son texte. Le voile sombre
   part de la gauche : c'est lui qui rend le texte blanc lisible quelle
   que soit la photo posee derriere. */
.banner{position:relative;overflow:hidden;height:clamp(340px,40vw,460px);background:var(--teal)}
.banner__vue{position:absolute;inset:0;overflow:hidden}
.banner__rail{display:flex;height:100%;margin:0;padding:0;list-style:none;
  transition:transform .8s cubic-bezier(.4,0,.2,1)}
.banner__item{position:relative;flex:0 0 100%;height:100%;min-width:0}
.banner__item>img{width:100%;height:100%;object-fit:cover;display:block}
.banner__voile{position:absolute;inset:0;
  background:linear-gradient(90deg,rgba(5,32,31,.88) 0%,rgba(5,32,31,.66) 40%,
    rgba(5,32,31,.18) 74%,rgba(5,32,31,.05) 100%)}
.banner__txt{position:absolute;inset:0;display:grid;align-items:center}
.banner__sur{display:inline-block;font:800 12px/1 Mulish,sans-serif;letter-spacing:.17em;
  text-transform:uppercase;color:var(--green);margin-bottom:14px}
.banner__item h2{color:#fff;font-size:clamp(26px,3vw,40px);max-width:16ch;margin-bottom:14px}
.banner__item p{color:#D5E3DF;font-size:16px;max-width:46ch;margin-bottom:26px;line-height:1.6}

/* barre de commande, posee sur le bas de la bande */
.banner__nav{position:absolute;left:0;right:0;bottom:24px;z-index:4;
  display:flex;align-items:center;justify-content:space-between;gap:16px}
.banner__points{display:flex;gap:8px}
.banner__points button{width:9px;height:9px;padding:0;border:0;border-radius:50%;
  background:rgba(255,255,255,.42);cursor:pointer;transition:.25s}
.banner__points button[aria-current="true"]{background:var(--green);width:26px;border-radius:5px}
.banner__fleches{display:flex;gap:9px}
.banner__fleches button{width:40px;height:40px;border-radius:50%;cursor:pointer;
  border:1.5px solid rgba(255,255,255,.5);background:rgba(5,32,31,.3);color:#fff;
  display:grid;place-items:center;transition:.18s}
.banner__fleches button:hover{background:#fff;color:var(--teal);border-color:#fff}

@media(max-width:740px){
  .banner{height:400px}
  .banner__item p{display:none}
  .banner__voile{background:linear-gradient(90deg,rgba(5,32,31,.9) 0%,rgba(5,32,31,.74) 70%,
    rgba(5,32,31,.52) 100%)}
}
@media(prefers-reduced-motion:reduce){
  .banner__rail{transition:none}
}

/* ===================== DEUX CARTES ===================== */
.duo{display:grid;grid-template-columns:1fr 1fr;gap:26px;padding-block:60px}
.info{display:flex;gap:18px;background:var(--mint);border-radius:var(--r-card);padding:26px 28px}
.info__ic{flex:none;width:58px;height:58px;border-radius:12px;background:var(--white);
  display:grid;place-items:center;box-shadow:0 2px 8px rgba(13,60,62,.07)}
.info h3{margin-bottom:7px}
.info p{font-size:14.5px;color:var(--muted);margin-bottom:12px}
.lnk{font-weight:700;font-size:13.5px;color:var(--teal);display:inline-flex;align-items:center;gap:6px}
.lnk:hover{gap:10px}

/* ===================== PORTRAIT + TEXTE ===================== */
.split{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center;padding-block:86px}
/* la photo deborde le panneau par le haut : c'est le relief de la section */
.figpanel{position:relative;background:var(--leaf-g);border-radius:26px;height:468px}
.figpanel img{position:absolute;bottom:0;left:50%;transform:translateX(-50%);
  width:76%;height:112%;object-fit:cover;object-position:50% 16%;border-radius:20px;
  box-shadow:0 20px 40px -16px rgba(13,60,62,.34)}
.badge{position:absolute;top:54px;left:-22px;background:var(--white);border-radius:14px;
  padding:13px 19px;text-align:center;box-shadow:0 10px 26px -8px rgba(13,60,62,.26);z-index:3}
.badge b{display:block;font:800 25px/1 Mulish,sans-serif;color:var(--sage)}
.badge span{font-size:11.5px;font-weight:700;color:var(--muted);letter-spacing:.02em}
.stars{display:flex;gap:30px;margin:26px 0 28px;flex-wrap:wrap}
.stars div{display:flex;flex-direction:column;gap:5px}
.stars .s{color:#F2B705;font-size:15px;letter-spacing:2px}
/* <small> dans la maquette, paragraphe classe dans l'editeur de blocs */
.stars small,.stars .stars__src{font-size:12.5px;color:var(--muted);font-weight:700}

/* ===================== FONCTIONNEMENT ===================== */
.split--rev{padding-block:0 92px}
.check{list-style:none;padding:0;margin:24px 0 30px;display:grid;gap:12px}
.check li{display:flex;gap:11px;align-items:flex-start;font-size:14.5px;color:var(--muted)}
.check svg{flex:none;margin-top:3px}
.shot{position:relative}
.shot img{border-radius:22px;width:100%;aspect-ratio:1/.92;object-fit:cover}
/* la carte flottante sort du conteneur : c'est la profondeur de la page */
.float{position:absolute;left:-38px;bottom:-30px;background:var(--white);border-radius:14px;
  padding:16px 18px;width:252px;box-shadow:0 16px 40px -12px rgba(13,60,62,.30);z-index:4}
.float__top{display:flex;justify-content:space-between;align-items:center;margin-bottom:11px}
.float__lbl{font-size:11.5px;font-weight:700;color:var(--muted)}
.float__val{font:800 17px/1 Mulish,sans-serif;color:var(--teal)}
.float__bar{height:5px;border-radius:5px;background:var(--mint-2);overflow:hidden}
.float__bar i{display:block;height:100%;width:62%;background:var(--green);border-radius:5px}
.float__foot{display:flex;justify-content:space-between;font-size:11px;color:#9AA5A2;
  font-weight:600;margin-top:7px}

/* ===================== ETAPES ===================== */
.steps{padding-block:88px 96px;position:relative}
.steps h2{text-align:center;margin-bottom:58px}
.flow{display:grid;grid-template-columns:1fr auto 1fr auto 1fr;gap:16px;align-items:start}
.cell{text-align:center;max-width:290px;margin:0 auto}
.cell__ic{width:98px;height:98px;border-radius:22px;background:var(--white);margin:0 auto 22px;
  display:grid;place-items:center;box-shadow:0 6px 20px -6px rgba(13,60,62,.16)}
.cell__ic svg{width:44px;height:44px}
.cell h3{font-size:16.5px;margin-bottom:8px}
.cell p{font-size:14px;color:var(--muted)}
.arrow{align-self:start;margin-top:40px;color:var(--sage);opacity:.55}
.steps .leaf--e{width:120px;height:120px;border-radius:100% 100% 0 100%;top:40px;left:-50px;background:var(--leaf-y)}
.steps .leaf--f{width:76px;height:76px;border-radius:0 100% 100% 100%;bottom:48px;right:-24px;background:var(--leaf-g)}

/* ===================== ZUSCHUESSE ===================== */
.grant{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center;padding-block:90px}
.grant__panel{background:var(--teal);border-radius:26px;padding:40px 38px;color:#D7E6E2;position:relative}
.grant__panel h3{color:#fff;font-size:17px;margin-bottom:6px}
.gitem{display:flex;gap:16px;padding:19px 0;border-bottom:1px solid rgba(255,255,255,.13)}
.gitem:last-child{border-bottom:0;padding-bottom:0}
.gitem:first-child{padding-top:0}
.gitem__n{flex:none;width:38px;height:38px;border-radius:50%;background:rgba(255,255,255,.1);
  display:grid;place-items:center;font:800 14px/1 Mulish,sans-serif;color:var(--green)}
.gitem p{font-size:13.5px;color:#A9C2BD;margin-top:3px}

/* ===================== RATGEBER ===================== */
.mag{padding-block:88px 92px}
.mag h2{text-align:center;margin-bottom:52px}
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
/* rayon volontairement faible sur les visuels d'article, demande du client */
.card img{border-radius:3px;aspect-ratio:1/.68;object-fit:cover;margin-bottom:16px}
.card{cursor:pointer}
.card h3{transition:color .2s}
.card time{font-size:11.5px;font-weight:800;color:#A2ADAA;letter-spacing:.09em;text-transform:uppercase}
.card h3{font-size:17px;margin-top:9px;line-height:1.35;font-weight:700}
/* le titre est le declencheur accessible ; la carte entiere reste cliquable */
.card__lien{font:inherit;color:inherit;background:none;border:0;padding:0;margin:0;
  text-align:left;cursor:pointer}
.card__lien:focus-visible{outline:2px solid var(--sage);outline-offset:3px;border-radius:2px}
.card:hover h3,.card__lien:hover{color:var(--teal)}
.mag__more{text-align:center;margin-top:46px}

/* ===================== AVIS ===================== */
.voice{background:var(--mint);padding-block:78px 82px}
.voice__grid{display:grid;grid-template-columns:1fr 210px;gap:56px;align-items:start}
/* carrousel : une piste de largeurs pleines, deplacee par translateX */
.voice__vue{overflow:hidden}
.voice__rail{display:flex;list-style:none;margin:0;padding:0;
  transition:transform .66s cubic-bezier(.4,0,.2,1)}
.voice__item{flex:0 0 100%;min-width:0}
.voice[data-anim="non"] .voice__rail{transition:none}
.voice blockquote{margin:0;font-size:19px;line-height:1.62;font-weight:600;color:#24302E}
.arrows button[disabled]{opacity:.4;cursor:default}
.voice__compte{font-size:12px;color:var(--muted);font-weight:700;margin-top:14px}
.who{display:flex;align-items:center;gap:13px;margin-top:28px;padding-top:24px;border-top:1px solid #DCE8E2}
.who img{width:46px;height:46px;border-radius:50%;object-fit:cover}
.who b{font-size:14.5px;display:block}
.who .s{color:#F2B705;font-size:12.5px;letter-spacing:2px}
.score{text-align:right}
.score .n{font:800 30px/1 Mulish,sans-serif;color:var(--teal)}
.score small{font-size:12px;color:var(--muted);font-weight:700}
.arrows{display:flex;gap:9px;justify-content:flex-end;margin-top:20px}
.arrows button{width:38px;height:38px;border-radius:50%;border:1.5px solid #CBD9D4;background:none;
  cursor:pointer;color:var(--teal);display:grid;place-items:center;transition:.15s}
.arrows button:hover{border-color:var(--teal);background:var(--white)}

/* ===================== PIED ===================== */
.ft{background:var(--white);padding:66px 0 0;border-top:1px solid var(--line)}
.ft__grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr 1fr;gap:34px}
.ft__brand p{font-size:13.5px;color:var(--muted);margin-top:16px;line-height:1.85}
.ft__brand a{color:var(--teal);font-weight:700}
.ft h4{font-size:13px;margin:0 0 15px;letter-spacing:.02em}
.ft ul{list-style:none;padding:0;margin:0;display:grid;gap:9px}
.ft ul a{font-size:13.5px;color:var(--muted)}
.ft ul a:hover{color:var(--teal)}
.ft__bar{margin-top:52px;border-top:1px solid var(--line);padding:20px 0 24px;
  display:flex;justify-content:space-between;gap:16px;font-size:12.5px;color:#9AA5A2;flex-wrap:wrap}
.ft__bar a{text-decoration:underline}

/* ===================== APPARITIONS =====================
   Etats de depart poses uniquement si JS repond (.js) et si l'utilisateur
   n'a pas demande moins d'animations. Chaque element se revele une fois,
   au passage dans la fenetre. Courbe unique pour toute la page : une
   decelerante longue, qui donne le mouvement calme des sites soignes. */
html.js [data-reveal]{--courbe:cubic-bezier(.22,1,.36,1);--d:0ms}

@media(prefers-reduced-motion:no-preference){
  /* Un element rogne par clip-path n'est pas vu comme visible par
     l'observateur : c'est donc toujours le conteneur qu'on observe,
     et les enfants reagissent a son etat. */

  /* --- scene du portrait --- */
  html.js .rv-scene-portrait{opacity:0;transform:scale(.955)}
  html.js .rv-scene-portrait.vu{opacity:1;transform:none;
    transition:opacity .95s ease,transform .95s var(--courbe)}

  /* core/image pose la classe sur le <figure>, jamais sur le <img>. Or
     « .figpanel img » est en position absolue : le <figure> a donc une
     HAUTEUR NULLE. Un clip-path sur une boite de hauteur nulle masque son
     contenu pour toujours — la photo du portrait ne reapparaissait pas,
     meme une fois la classe .vu posee. Et le translateX(-50%), prevu pour
     l'image, s'appliquait au figure et la decalait une seconde fois.
     Le volet vise donc le <img>, et le <figure> est neutralise. */
  html.js .rv-scene-portrait .rv-volet{clip-path:none;transform:none}
  html.js .rv-scene-portrait .rv-volet img{clip-path:inset(100% 0 0 0 round 20px);
    transform:translateX(-50%) scale(1.08)}
  html.js .rv-scene-portrait.vu .rv-volet img{clip-path:inset(0 0 0 0 round 20px);
    transform:translateX(-50%) scale(1);
    transition:clip-path 1.25s var(--courbe) .18s,transform 1.7s var(--courbe) .18s}

  html.js .rv-scene-portrait .rv-detache{opacity:0;transform:translate(-16px,12px)}
  html.js .rv-scene-portrait.vu .rv-detache{opacity:1;transform:none;
    transition:opacity .75s ease .62s,transform .75s var(--courbe) .62s}

  /* --- scene de la photo de droite --- */
  html.js .rv-scene-shot .rv-volet-g{clip-path:inset(0 0 0 100% round 22px);
    transform:scale(1.07)}
  html.js .rv-scene-shot.vu .rv-volet-g{clip-path:inset(0 0 0 0 round 22px);
    transform:scale(1);
    transition:clip-path 1.25s var(--courbe),transform 1.7s var(--courbe)}

  html.js .rv-scene-shot .rv-flotte{opacity:0;transform:translateY(22px)}
  html.js .rv-scene-shot.vu .rv-flotte{opacity:1;transform:none;
    transition:opacity .75s ease .72s,transform .8s var(--courbe) .72s}

  /* etapes : meme mouvement, decale d'une cellule a l'autre */
  html.js .rv-pas{opacity:0;transform:translateY(20px)}
  html.js .rv-pas.vu{opacity:1;transform:none;
    transition:opacity .7s ease var(--d),transform .7s var(--courbe) var(--d)}
  html.js .rv-fleche{opacity:0;transform:translateX(-12px)}
  html.js .rv-fleche.vu{opacity:.55;transform:none;
    transition:opacity .6s ease var(--d),transform .6s var(--courbe) var(--d)}
}

/* ===================== FENETRE MODALE =====================
   Les trois articles sont ecrits dans la page et seulement masques :
   rien n'est injecte en JavaScript, donc tout reste editable. */
.modal[hidden]{display:none}
.modal{position:fixed;inset:0;z-index:120;display:grid;place-items:center;padding:24px}

/* L'editeur de blocs ne serialise pas l'attribut hidden sur un core/group :
   les trois fenetres arrivaient donc dans la page SANS hidden. Elles sont
   position:fixed, inset:0, z-index:120 — invisibles parce que la boite est a
   opacity:0, mais elles recouvraient la page entiere et interceptaient tous
   les clics. L'etat ferme ne peut donc pas dependre de l'attribut.

   visibility avec une transition a duree nulle et un delai : le masquage
   n'intervient qu'une fois le fondu de fermeture termine, exactement comme
   le faisait le minuteur de app.js sur la maquette. */
.modal{visibility:hidden;pointer-events:none;transition:visibility 0s linear .42s}
.modal.ouvert{visibility:visible;pointer-events:auto;transition:visibility 0s}
.modal__fond{position:absolute;inset:0;background:rgba(6,34,33,.6);
  backdrop-filter:blur(3px);opacity:0;transition:opacity .32s ease;border:0;padding:0}
.modal.ouvert .modal__fond{opacity:1}
.modal__boite{position:relative;background:var(--white);border-radius:14px;width:100%;
  max-width:700px;max-height:88vh;overflow-y:auto;
  box-shadow:0 34px 80px -22px rgba(6,34,33,.55);
  opacity:0;transform:translateY(20px) scale(.985)}
.modal.ouvert .modal__boite{opacity:1;transform:none;
  transition:opacity .42s var(--courbe,cubic-bezier(.22,1,.36,1)),
             transform .42s var(--courbe,cubic-bezier(.22,1,.36,1))}
.modal__x{position:absolute;top:14px;right:14px;z-index:2;width:38px;height:38px;
  border-radius:50%;border:0;background:rgba(255,255,255,.92);color:var(--teal);
  cursor:pointer;display:grid;place-items:center;transition:.18s;
  box-shadow:0 2px 10px rgba(13,60,62,.2)}
.modal__x:hover{background:var(--teal);color:#fff}
.modal__img{width:100%;aspect-ratio:1/.42;object-fit:cover;border-radius:3px 3px 0 0}
.modal__corps{padding:30px 38px 38px}
.modal__corps time{font-size:11.5px;font-weight:800;color:#A2ADAA;letter-spacing:.09em;
  text-transform:uppercase}
.modal__corps h2{font-size:clamp(22px,2.4vw,30px);margin:10px 0 18px}
.modal__corps p{color:var(--muted);font-size:15.5px;line-height:1.7;margin-bottom:15px}
.modal__corps h3{font-size:17px;margin:26px 0 10px}
.modal__corps ul{margin:0 0 15px;padding-left:20px;color:var(--muted);font-size:15.5px;
  line-height:1.7}
.modal__corps li{margin-bottom:7px}
.modal__vignette{width:100%;border-radius:3px;margin:22px 0 6px}
.modal__note{background:var(--mint);border-radius:10px;padding:15px 18px;font-size:14px;
  color:#38514C;line-height:1.6;margin-top:22px}
.modal__pied{display:flex;gap:12px;flex-wrap:wrap;margin-top:26px}
body.fige{overflow:hidden}
@media(max-width:740px){
  .modal{padding:12px}
  .modal__corps{padding:24px 22px 30px}
}
@media(prefers-reduced-motion:reduce){
  .modal__boite,.modal__fond{transition:none}
  .modal{transition:visibility 0s}
}

/* ===================== RESPONSIVE ===================== */
@media(max-width:1000px){
  .hero__grid,.split,.grant,.voice__grid{grid-template-columns:1fr;gap:44px}
  .split--rev .shot{order:-1}
  .flow{grid-template-columns:1fr;gap:34px}
  .arrow{display:none}
  .ft__grid{grid-template-columns:1fr 1fr 1fr}
  .ft__brand{grid-column:1/-1}
  .cards{grid-template-columns:1fr 1fr}
  .figpanel{height:430px;max-width:100%}
  .float{left:0}
  .score{text-align:left}
  .arrows{justify-content:flex-start}
}
@media(max-width:740px){
  /* « .nav » visait le <nav> de la maquette. Sur le bloc de navigation il ne
     mord pas (.wp-block-navigation.is-layout-flex l'emporte) et, s'il mordait,
     il emporterait le burger avec lui. Le replis mobile du bloc est traite
     dans la section MENU MOBILE plus bas. */
  .hdr__tel,.hdr__end{display:none}
  .burger{display:block;margin-left:auto}
  .hdr__in{gap:16px}
  .duo,.cards,.ft__grid{grid-template-columns:1fr}
  .hero{padding:48px 0 60px}
  .split,.grant{padding-block:60px}
  .float{left:12px;right:12px;bottom:-22px;width:auto}
  .badge{left:10px;top:40px}
  .figpanel{height:370px}
  /* les formes ne doivent pas passer sous le texte en colonne unique */
  .hero .leaf--a{width:148px;height:148px}
  .hero .leaf--c{width:104px;height:104px}
  .hero .leaf--b{display:none}
  .trust{gap:18px}
  .wrap{padding-inline:20px}
}

/* ===================== MENU MOBILE =====================
   Pose en phase 3 : avec cinq pages, le burger doit enfin ouvrir
   quelque chose. Les liens sont dans la page, jamais injectes. */
.menu-mobile{display:none;border-top:1px solid var(--line);background:var(--white);
  padding:14px 28px 20px}
.menu-mobile a{display:block;padding:12px 0;font-weight:700;font-size:16px;
  border-bottom:1px solid var(--line)}
.menu-mobile a:last-child{border-bottom:0;margin-top:14px;text-align:center}
.menu-mobile[hidden]{display:none}
@media(max-width:740px){
  .menu-mobile:not([hidden]){display:block}
}

/* ---------------------------------------------------------------------
   Repli mobile du bloc core/navigation

   1. Position du burger. Sur mobile .hdr__end est masque : plus rien ne
      poussait la navigation vers la droite, et le burger se collait au nom
      du site. La marge automatique le renvoie contre le bord interieur de
      .wrap, donc sur la meme limite que le reste de la page.
   --------------------------------------------------------------------- */
@media(max-width:740px){
  .hdr__in .wp-block-navigation.nav-principale{margin-left:auto;gap:0}
}

/* 2. Seuil de bascule. WordPress passe au burger a 600 px, la maquette a
      740 px. On reproduit les deux regles du coeur sur l'intervalle. */
@media(min-width:600px) and (max-width:740px){
  .nav-principale .wp-block-navigation__responsive-container-open:not(.always-shown){display:flex}
  .nav-principale .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open){display:none}
}

/* 3. Taille du panneau ouvert — le defaut qui cassait l'affichage.
      .hdr porte backdrop-filter:blur(8px). Un filtre fait de l'element le
      BLOC CONTENEUR de tout descendant en position:fixed : le panneau,
      pose en inset:0, se calait donc sur l'en-tete et mesurait 375 x 74 px.
      Son contenu de 324 px debordait d'un conteneur en overflow:auto, d'ou
      le menu tronque a une seule ligne.

      Deux parades complementaires : on retire le flou pendant l'ouverture
      (le bloc conteneur redevient la fenetre), et on donne au panneau les
      dimensions de la fenetre — ce qui reste juste meme sans :has(), puisque
      l'en-tete est colle en haut de la fenetre. */
.hdr:has(.wp-block-navigation__responsive-container.is-menu-open){
  backdrop-filter:none; -webkit-backdrop-filter:none;
}
.wp-block-navigation__responsive-container.is-menu-open{
  width:100vw; height:100vh; height:100dvh;
  top:0; left:0; right:auto; bottom:auto;
}

/* 4. Mise en page du panneau : le registre de .menu-mobile de la maquette —
      liens empiles, pleine largeur, separes d'un filet. */
.nav-principale .wp-block-navigation__responsive-container.is-menu-open
  .wp-block-navigation__responsive-container-content{
  width:100%; align-items:stretch;
}
.nav-principale .wp-block-navigation__responsive-container.is-menu-open
  .wp-block-navigation__container{
  gap:0; width:100%; align-items:stretch;
}
.nav-principale .wp-block-navigation__responsive-container.is-menu-open
  .wp-block-navigation-item{
  width:100%; border-bottom:1px solid var(--line);
}
.nav-principale .wp-block-navigation__responsive-container.is-menu-open
  .wp-block-navigation-item:last-child{border-bottom:0}
.nav-principale .wp-block-navigation__responsive-container.is-menu-open
  .wp-block-navigation-item__content{
  display:block; width:100%; padding:14px 0;
  font-weight:700; font-size:16px; color:var(--ink);
}
.nav-principale .wp-block-navigation__responsive-container.is-menu-open
  .current-menu-item .wp-block-navigation-item__content{color:var(--teal)}
.nav-principale .wp-block-navigation__responsive-container-close{
  color:var(--ink); width:38px; height:38px;
}

/* ===================== EN-TETE DE PAGE INTERNE =====================
   Meme registre que l'accueil : bande menthe pleine largeur, titre
   bicolore, formes organiques. Aucun nouveau dispositif. */
.phero{background:var(--mint);padding:74px 0 78px;position:relative;overflow:hidden}
.phero .leaf--a{width:230px;height:230px;border-radius:0 0 0 100%;top:0;right:0}
.phero .leaf--b{width:140px;height:140px;border-radius:0 100% 0 0;bottom:0;left:0}
.phero__in{position:relative;z-index:2;max-width:760px}
.phero h1{font-size:clamp(32px,4vw,50px);margin-bottom:20px}
.phero p{color:var(--muted);font-size:17px;max-width:58ch;line-height:1.65}
.fil{font-size:13px;font-weight:700;color:#93A09C;margin-bottom:18px}
.fil a:hover{color:var(--teal)}
.fil span{margin:0 7px}

/* ===================== BLOCS DE PAGE INTERNE ===================== */
.sect{padding-block:80px}
.sect--mint{background:var(--mint)}
.sect__titre{margin-bottom:16px}
.sect__lede{color:var(--muted);font-size:16.5px;max-width:58ch;line-height:1.7;margin-bottom:34px}

/* paire texte + visuel, alternee */
.paire{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:center}
.paire--inv .paire__txt{order:2}
.paire__img img{width:100%;border-radius:18px;aspect-ratio:1/.76;object-fit:cover}

/* grille de cartes de contenu */
.grille{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}
.grille--2{grid-template-columns:1fr 1fr}
.tuile{background:var(--white);border:1px solid var(--line);border-radius:var(--r-card);
  padding:30px 28px}
.tuile--mint{background:var(--mint);border-color:transparent}
.tuile__ic{width:52px;height:52px;border-radius:13px;background:var(--mint-2);
  display:grid;place-items:center;margin-bottom:18px}
.tuile h3{margin-bottom:9px}
.tuile p{font-size:14.5px;color:var(--muted);line-height:1.65}
.tuile ul{margin:12px 0 0;padding-left:19px;font-size:14.5px;color:var(--muted);line-height:1.75}

/* chiffres */
.chiffres{display:grid;grid-template-columns:repeat(4,1fr);gap:26px;text-align:center}
.chiffre b{display:block;font:800 40px/1 Mulish,sans-serif;color:var(--teal);margin-bottom:8px}
.chiffre span{font-size:14px;color:var(--muted);font-weight:600}

/* questions frequentes : tout est dans la page, <details> natif */
.faq{max-width:780px}
.faq details{border-bottom:1px solid var(--line);padding:4px 0}
.faq summary{cursor:pointer;padding:18px 0;font-weight:700;font-size:16.5px;
  list-style:none;display:flex;justify-content:space-between;gap:18px;align-items:center}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:'';flex:none;width:11px;height:11px;border-right:2px solid var(--sage);
  border-bottom:2px solid var(--sage);transform:rotate(45deg);transition:transform .25s;
  margin-top:-4px}
.faq details[open] summary::after{transform:rotate(-135deg);margin-top:3px}
.faq p{padding:0 0 18px;color:var(--muted);font-size:15.5px;line-height:1.7;max-width:70ch}

/* coordonnees */
.coord{display:grid;gap:18px}
.coord__item{display:flex;gap:15px;align-items:flex-start}
.coord__ic{flex:none;width:44px;height:44px;border-radius:11px;background:var(--mint);
  display:grid;place-items:center}
.coord__item b{display:block;font-size:14px;margin-bottom:3px}
.coord__item a,.coord__item span{color:var(--muted);font-size:15px}
.coord__item a:hover{color:var(--teal)}

/* formulaire de contact */
.form-contact{background:var(--white);border:1px solid var(--line);border-radius:var(--r-card);
  padding:32px 34px}
.form-contact .champs{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.form-contact .champs .large{grid-column:1/-1}
.form-contact textarea{width:100%;padding:12px 13px;border:1.5px solid var(--line);
  border-radius:var(--r-btn);font:400 14.5px Mulish,sans-serif;color:var(--ink);
  resize:vertical;min-height:132px}
.form-contact textarea:focus{outline:0;border-color:var(--sage)}

/* bande d'appel finale */
.appel{background:var(--teal);padding:66px 0;text-align:center;position:relative;overflow:hidden}
.appel h2{color:#fff;margin-bottom:14px}
.appel p{color:#A9C2BD;font-size:16.5px;max-width:52ch;margin:0 auto 28px;line-height:1.65}
.appel .btn--ghost{background:transparent;border-color:rgba(255,255,255,.55);color:#fff}
.appel .btn--ghost:hover{background:#fff;color:var(--teal);border-color:#fff}
.appel__duo{display:flex;gap:13px;justify-content:center;flex-wrap:wrap}

/* grille de temoignages (page Erfahrungen) */
.avis-grille{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}
.avis-carte{background:var(--white);border:1px solid var(--line);border-radius:var(--r-card);
  padding:28px 26px;display:flex;flex-direction:column}
.avis-carte .s{color:#F2B705;font-size:14px;letter-spacing:2px;margin-bottom:14px}
.avis-carte blockquote{margin:0 0 20px;font-size:15.5px;line-height:1.7;color:#24302E;flex:1}
.avis-carte .who{margin-top:0;padding-top:18px}

/* page legale */
.legal{max-width:780px;padding-block:70px 80px}
.legal h2{font-size:24px;margin:38px 0 14px}
.legal h3{font-size:17px;margin:24px 0 8px}
.legal p,.legal li{color:var(--muted);font-size:15.5px;line-height:1.75}
.legal p{margin-bottom:14px}
.legal ul{margin:0 0 16px;padding-left:20px}
.legal__avis{background:#FFF8E1;border:1px solid #F0E0A8;border-radius:10px;padding:18px 20px;
  font-size:14.5px;color:#6B5A1E;line-height:1.65;margin-bottom:30px}

@media(max-width:1000px){
  .paire{grid-template-columns:1fr;gap:38px}
  .paire--inv .paire__txt{order:0}
  .grille,.avis-grille{grid-template-columns:1fr 1fr}
  .chiffres{grid-template-columns:1fr 1fr;gap:34px}
}
@media(max-width:740px){
  .grille,.avis-grille,.form-contact .champs{grid-template-columns:1fr}
  .sect{padding-block:56px}
  .phero{padding:48px 0 54px}
  .form-contact{padding:24px 22px}
  .phero .leaf--a{width:140px;height:140px}
}

/* ===================== RYTHME VERTICAL MOBILE =====================
   Demande du client : aerer les jonctions entre sections sur petit ecran.
   Pose en dernier pour primer sans jouer sur la specificite, et uniquement
   sur l'axe vertical — l'horizontal reste a .wrap (padding-inline). */
@media(max-width:740px){
  .duo{padding-block:76px 64px}        /* au-dessus de la 1re carte */
  .split{padding-block:64px 72px}      /* sous la 2e carte, degage la photo */
  .split--rev{padding-block:72px}      /* entre le bouton vert et la photo */
  .steps{padding-block:72px 76px}      /* avant et apres la bande menthe */
  .grant{padding-block:72px}           /* avant le titre Zuschuesse */
  .mag{padding-block:76px 72px}        /* entre le panneau sombre et Ratgeber */
  .voice{padding-block:64px 68px}
}

/* ===================== JONCTIONS A 30 PX =====================
   Demande du client : 30 px exactement entre ces blocs, sur tous les ecrans.
   Pose en dernier et hors media query pour s'appliquer partout.

   Attention a ce qui compose chaque ecart :
   - vers une bande coloree (.steps), le blanc visible est le padding-bottom
     de la section precedente seul — le padding de la bande est dans sa couleur ;
   - entre deux sections blanches, l'ecart est la somme des deux paddings.
   D'ou les valeurs 15+15 ici et 30 seul la. */
.split{padding-bottom:15px}            /* + .split--rev top = 30 */
.split--rev{padding-top:15px;padding-bottom:30px}   /* 30 avant la bande menthe */
.grant{padding-top:30px;padding-bottom:15px}        /* 30 apres la bande menthe */
.mag{padding-top:15px}                 /* + .grant bottom = 30 */

/* ===================== SELECTEUR DE LANGUE ===================== */
.langues{display:flex;align-items:center;gap:6px;color:var(--teal)}
.langues select{appearance:none;border:0;background:transparent;color:var(--ink);
  font:700 14px/1 Mulish,sans-serif;cursor:pointer;padding:6px 18px 6px 2px;
  background-image:linear-gradient(45deg,transparent 50%,var(--teal) 50%),
                   linear-gradient(135deg,var(--teal) 50%,transparent 50%);
  background-position:calc(100% - 9px) 52%,calc(100% - 5px) 52%;
  background-size:4px 4px,4px 4px;background-repeat:no-repeat}
.langues select:focus-visible{outline:2px solid var(--sage);outline-offset:2px;border-radius:4px}
.menu-mobile__langue{padding:14px 0;border-bottom:1px solid var(--line)}
.menu-mobile__langue .langues select{font-size:16px;padding-block:4px}
@media(max-width:860px){
  .hdr__tel{display:none}
}

/* =====================================================================
   ADAPTATIONS GUTENBERG
   Ajoute a la feuille de la maquette au moment de l'assemblage du theme.
   Rien ici n'est decoratif : chaque regle repare un comportement que
   WordPress impose au balisage des blocs.
   ===================================================================== */

/* ---------------------------------------------------------------------
   1 · Espacement automatique
   theme.json coupe blockGap a la source. Ce filet de securite est ecrit
   a specificite NULLE : la version naive (.wp-block-group > *) ecraserait
   toutes les marges des composants et detruirait le rythme vertical.
   --------------------------------------------------------------------- */
:where(.wp-block-group) > :where(*),
:where(.wp-block-buttons),
:where(.wp-block-columns) { margin-block: 0; }
figure.wp-block-image { margin: 0; }
/* Neutralise la largeur que la mise en page « contrainte » de WordPress
   poserait sur un groupe. A specificite NULLE, comme la regle ci-dessus :
   ecrite en .wp-block-group, elle ecrasait le max-width de .wrap — et tout
   le site se composait alors pleine largeur au lieu de 1180 px. */
:where(.wp-block-group) { max-width: none; }

/* l'attribut height="900" des balises img l'emporte sinon sur aspect-ratio */
.wp-block-image img { height: auto; }

/* ---------------------------------------------------------------------
   2 · Boutons
   core/button pose la classe sur le CONTENEUR div.wp-block-button, pas sur
   le lien. Sans neutralisation, le conteneur herite des regles ecrites pour
   .btn et double la pastille.
   --------------------------------------------------------------------- */
.wp-block-button.b-vert,
.wp-block-button.b-contour,
.wp-block-button.b-ligne {
  display: inline-block; background: none; border: 0; padding: 0;
  border-radius: 0; font: inherit;
}
.wp-block-button.b-vert::after,
.wp-block-button.b-contour::after,
.wp-block-button.b-ligne::after { content: none; }

.wp-block-button .wp-block-button__link {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 700 15px/1 Mulish, sans-serif; padding: 15px 26px; border-radius: 8px;
  border: 1.5px solid transparent; cursor: pointer; transition: .18s;
  white-space: nowrap; text-decoration: none;
}
.wp-block-button.b-vert .wp-block-button__link {
  background: var(--green); color: #0A2B16;
}
.wp-block-button.b-vert .wp-block-button__link:hover { background: var(--green-dk); }

.wp-block-button.b-contour .wp-block-button__link {
  background: var(--white); border-color: var(--ink); color: var(--ink);
}
.wp-block-button.b-contour .wp-block-button__link:hover {
  background: var(--ink); color: var(--white);
}

.wp-block-button.b-ligne .wp-block-button__link {
  background: transparent; border-color: var(--line); color: var(--ink);
}
.wp-block-button.b-ligne .wp-block-button__link:hover { border-color: var(--ink); }

/* la fleche du bouton fantome etait un SVG inline : pseudo-element ici */
.wp-block-button.b-contour.b-fleche .wp-block-button__link::after { content: '→'; font-size: 15px; }

/* masquer un bouton se fait sur le conteneur core/buttons, jamais sur
   .wp-block-button : la neutralisation ci-dessus gagnerait le duel */
@media (max-width: 740px) {
  .wp-block-buttons.b-cache-mobile { display: none; }
}

/* ---------------------------------------------------------------------
   3 · Navigation
   --------------------------------------------------------------------- */
.wp-block-navigation.nav-principale {
  gap: 30px; font-weight: 600; font-size: 15px;
}
.wp-block-navigation.nav-principale .wp-block-navigation-item__content {
  color: #2A3433; text-decoration: none; transition: .15s;
}
.wp-block-navigation.nav-principale .wp-block-navigation-item__content:hover,
.wp-block-navigation.nav-principale .current-menu-item .wp-block-navigation-item__content {
  color: var(--teal);
}

/* le panneau mobile s'ouvre blanc sur blanc sans ceci — la feuille qui pose
   le blanc n'est pas inspectable depuis la page, d'ou le !important.
   La mise en page des liens est traitee dans la section MENU MOBILE. */
.wp-block-navigation.nav-principale .wp-block-navigation__responsive-container.is-menu-open {
  background-color: var(--white) !important;
  color: var(--ink) !important;
  padding: 28px 24px !important;
}

/* ---------------------------------------------------------------------
   4 · Titres bicolores
   Le mot gris etait un <span class="g">. Une classe sur un element inline
   est invalidee par l'editeur : on utilise <em> nu, format natif, et on le
   style par son contexte. L'italique est annule — seule la couleur compte.
   --------------------------------------------------------------------- */
.wp-block-heading em,
h1 em, h2 em, h3 em {
  color: var(--gray);
  font-style: normal;
  font-weight: inherit;
}

/* ---------------------------------------------------------------------
   5 · Alignements
   --------------------------------------------------------------------- */
.wp-block-group.alignfull,
.wp-block-image.alignfull { width: 100%; max-width: none; }
.wp-site-blocks > * { margin-block: 0; }

/* ---------------------------------------------------------------------
   6 · Formulaire de contact (Contact Form 7)
   --------------------------------------------------------------------- */
.wpcf7-form-control-wrap { display: block; }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"],
.wpcf7 select, .wpcf7 textarea {
  width: 100%; padding: 12px 13px; border: 1.5px solid var(--line);
  border-radius: 8px; font: 400 14.5px Mulish, sans-serif; color: var(--ink);
  background: #fff;
}
.wpcf7 textarea { resize: vertical; min-height: 132px; }
.wpcf7 input:focus, .wpcf7 select:focus, .wpcf7 textarea:focus {
  outline: 0; border-color: var(--sage);
}
.wpcf7-not-valid-tip { color: #8B2F2F; font-size: 13px; font-weight: 600; margin-top: 5px; }
.wpcf7-response-output {
  border-radius: 8px; border-width: 1.5px; font-size: 14px; padding: 12px 14px;
}
.wpcf7-spinner { display: none; }

/* Contact Form 7 emballe chaque champ dans un <span> : sans ces regles la
   case a cocher d'acceptation devient un element flex qui s'etire et le
   libelle passe a la ligne. */
.form-contact .consent .wpcf7-form-control-wrap { flex: none; display: block; width: auto; }
.form-contact .consent .wpcf7-acceptance,
.form-contact .consent .wpcf7-list-item { margin: 0; display: block; }
.form-contact .consent .wpcf7-list-item-label { display: none; }
.form-contact .consent input[type="checkbox"] { margin: 2px 0 0; accent-color: var(--sage); }

/* le bouton d'envoi reprend .btn de la maquette, pose via class: dans le tag */
.form-contact input[type="submit"] { margin-top: 18px; }

/* la reponse de l'extension s'affiche sous le bouton, pas en bordure du panneau */
.form-contact .wpcf7-response-output { margin: 16px 0 0; }

/* =====================================================================
   ICONES — substitution n°1 de la methode
   Les SVG inline de la maquette ne sont pas des blocs natifs et ne portent
   aucune information editable : ils sortent du contenu et deviennent des
   masques CSS portes par des pseudo-elements. Le client ne peut donc ni les
   casser ni les supprimer par megarde.
   ===================================================================== */
.ic::before{content:'';display:block;background:currentColor;
  -webkit-mask:center/contain no-repeat;mask:center/contain no-repeat}

/* cartes de reassurance */
.info::before{content:'';flex:none;width:58px;height:58px;border-radius:12px;
  background:var(--white);box-shadow:0 2px 8px rgba(13,60,62,.07);
  background-repeat:no-repeat;background-position:center;background-size:27px 27px}
.info--partner::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28' fill='none'%3E%3Crect x='4.5' y='2.5' width='19' height='23' rx='3' stroke='%230D3C3E' stroke-width='1.6'/%3E%3Cpath d='M9 9h10M9 13.5h10M9 18h6' stroke='%230D3C3E' stroke-width='1.6' stroke-linecap='round'/%3E%3Ccircle cx='21' cy='21' r='5.4' fill='%2360D16A'/%3E%3Cpath d='M18.8 21.1l1.6 1.6 3-3.1' stroke='%230D3C3E' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
.info--klartext::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28' fill='none'%3E%3Ccircle cx='14' cy='14' r='11.2' stroke='%230D3C3E' stroke-width='1.6'/%3E%3Cpath d='M14 8.6v6.2l4 2.3' stroke='%230D3C3E' stroke-width='1.6' stroke-linecap='round'/%3E%3Ccircle cx='22.6' cy='6.4' r='3.6' fill='%2360D16A'/%3E%3C/svg%3E")}
.info__ic{display:none}

/* listes a coche : l'icone devient le marqueur du li */
.check{list-style:none}
.check li{position:relative;padding-left:28px}
.check li::before{content:'';position:absolute;left:0;top:2px;width:18px;height:18px;
  border-radius:5px;background:var(--mint-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='M5 9.2l2.6 2.5L13 6.4' stroke='%234C8672' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat}
.check li svg{display:none}

/* etapes : la pastille blanche porte l'icone en fond */
.cell__ic{background-repeat:no-repeat;background-position:center;background-size:44px 44px}
.cell__ic svg{display:none}
.cell--demande .cell__ic{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 38 38' fill='none'%3E%3Crect x='6' y='4' width='26' height='30' rx='4' fill='%23E2EFEA'/%3E%3Cpath d='M12 12h14M12 18h14M12 24h8' stroke='%234C8672' stroke-width='1.8' stroke-linecap='round'/%3E%3Ccircle cx='29' cy='28' r='6.6' fill='%2360D16A'/%3E%3Cpath d='M26.2 28.1l1.9 1.9 3.6-3.8' stroke='%230D3C3E' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
.cell--offre .cell__ic{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 38 38' fill='none'%3E%3Crect x='5' y='8' width='28' height='22' rx='4' fill='%23E2EFEA'/%3E%3Cpath d='M5 12l14 9 14-9' stroke='%234C8672' stroke-width='1.8' stroke-linejoin='round'/%3E%3Ccircle cx='30' cy='10' r='6.2' fill='%2360D16A'/%3E%3C/svg%3E")}
.cell--paiement .cell__ic{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 38 38' fill='none'%3E%3Crect x='4' y='9' width='30' height='20' rx='4' fill='%23E2EFEA'/%3E%3Ccircle cx='19' cy='19' r='5' stroke='%234C8672' stroke-width='1.8'/%3E%3Cpath d='M9 19h1.5M27.5 19H29' stroke='%234C8672' stroke-width='1.8' stroke-linecap='round'/%3E%3Ccircle cx='30' cy='29' r='6.6' fill='%2360D16A'/%3E%3Cpath d='M30 25.6v6.8M27.2 29h5.6' stroke='%230D3C3E' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E")}

/* fleches de liaison entre les etapes : trace en CSS, plus de SVG */
.flow .arrow{display:block;height:14px;margin-top:40px;opacity:.55;
  background:linear-gradient(90deg,var(--sage) 0 4px,transparent 4px 8px) left center/8px 1.6px repeat-x}
.flow .arrow svg{display:none}
/* la regle responsive plus haut (.arrow{display:none} a 1000 px) perdait le
   duel de specificite contre « .flow .arrow » : les fleches restaient
   affichees en colonne sur mobile et allongeaient la bande de 176 px */
@media(max-width:1000px){.flow .arrow{display:none}}

/* lien flechee : pseudo-element texte, comme le prescrit la methode */
.lnk::after{content:'→';margin-left:6px;transition:margin .18s}
.lnk:hover::after{margin-left:10px}
.lnk svg{display:none}

/* marque du logo : un SVG inline dans la maquette, impossible a conserver
   dans core/site-title qui ne rend que le texte du site. Elle revient en
   couche CSS, donc sans bloc a maintenir — et elle suit automatiquement un
   changement de nom de site. */
.logo::before{content:'';flex:none;width:26px;height:26px;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26' fill='none'%3E%3Ccircle cx='13' cy='13' r='13' fill='%2360D16A'/%3E%3Cpath d='M13 6.4a1.9 1.9 0 100 3.8 1.9 1.9 0 000-3.8zm0 3.8v9.6m0 0c-2.9 0-5.3-2.2-5.6-5m5.6 5c2.9 0 5.3-2.2 5.6-5M9.6 12h6.8' stroke='%230D3C3E' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat}
.logo svg{display:none}
.logo a{font:inherit;color:inherit;text-decoration:none}

/* garanties du hero */
.trust div::before{content:'';flex:none;width:15px;height:15px;background:currentColor;
  -webkit-mask:center/contain no-repeat;mask:center/contain no-repeat}
.trust div svg{display:none}
.trust .t-gratuit::before{-webkit-mask-image:var(--m-etoile);mask-image:var(--m-etoile)}
.trust .t-ssl::before{-webkit-mask-image:var(--m-bouclier);mask-image:var(--m-bouclier)}
.trust .t-24h::before{-webkit-mask-image:var(--m-horloge);mask-image:var(--m-horloge)}
.trust .t-cout::before{-webkit-mask-image:var(--m-coche);mask-image:var(--m-coche)}
:root{
  --m-etoile:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M8 1.5l1.9 3.9 4.3.6-3.1 3 .7 4.3L8 11.3 4.2 13.3l.7-4.3-3.1-3 4.3-.6L8 1.5z' stroke='%23000' stroke-width='1.3' stroke-linejoin='round'/%3E%3C/svg%3E");
  --m-bouclier:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M8 1.6l5.3 2.1v4c0 3.1-2.2 5.6-5.3 6.7-3.1-1.1-5.3-3.6-5.3-6.7v-4L8 1.6z' stroke='%23000' stroke-width='1.3' stroke-linejoin='round'/%3E%3C/svg%3E");
  --m-horloge:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Ccircle cx='8' cy='8' r='6.4' stroke='%23000' stroke-width='1.3'/%3E%3Cpath d='M8 4.6V8l2.3 1.4' stroke='%23000' stroke-width='1.3' stroke-linecap='round'/%3E%3C/svg%3E");
  --m-coche:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3 8.3l3.3 3.2L13 4.8' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* =====================================================================
   FORMES DECORATIVES — substitution n°4 de la methode
   La maquette pose les quartiers de disque avec des <span class="leaf">
   vides. Un bloc vide dans l'editeur est selectionnable, invisible et
   finit supprime par megarde : les formes passent donc en couches CSS.
   .hero, .phero et .steps portent deja position:relative.
   ===================================================================== */
.hero::before, .hero::after,
.phero::before, .phero::after,
.steps::before, .steps::after {
  content: ''; position: absolute; z-index: 0; pointer-events: none;
}

/* hero : leaf--a (jaune, angle haut droit) et leaf--c (jaune, bas gauche) */
.hero::before { width:250px; height:250px; border-radius:0 0 0 100%; top:0; right:0; background:var(--leaf-y); }
.hero::after  { width:170px; height:170px; border-radius:0 100% 0 0; bottom:0; left:0;  background:var(--leaf-y); }

/* leaf--b : troisieme forme, donc ni ::before ni ::after de libre.
   Elle devient un fond decale depuis le bord droit — le meme repere que
   le « right:456px » d'origine, parce que .hero est pleine largeur. */
.hero {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='88' viewBox='0 0 88 88'%3E%3Cpath d='M44 0A44 44 0 0 1 88 44V88H44A44 44 0 0 1 0 44A44 44 0 0 1 44 0Z' fill='%23D9F5CC'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 456px top 332px;
}

/* en-tete de page interne : leaf--a jaune, leaf--b verte */
.phero::before { width:230px; height:230px; border-radius:0 0 0 100%; top:0; right:0; background:var(--leaf-y); }
.phero::after  { width:140px; height:140px; border-radius:0 100% 0 0; bottom:0; left:0;  background:var(--leaf-g); }

/* les pages legales n'ont qu'une seule forme dans la maquette */
.phero--une::after { content: none; }

/* etapes : leaf--e jaune a gauche, leaf--f verte a droite */
.steps::before { width:120px; height:120px; border-radius:100% 100% 0 100%; top:40px;   left:-50px; background:var(--leaf-y); }
.steps::after  { width:76px;  height:76px;  border-radius:0 100% 100% 100%; bottom:48px; right:-24px; background:var(--leaf-g); }

@media (max-width: 1040px) {
  .hero { background-image: none; }          /* equivalent de .leaf--b masquee */
}
@media (max-width: 740px) {
  .hero::before { width:148px; height:148px; }
  .hero::after  { width:104px; height:104px; }
  .phero::before{ width:140px; height:140px; }
}

/* =====================================================================
   ICONES DES PAGES INTERNES — meme substitution que l'accueil
   Les pastilles .tuile__ic et .coord__ic de la maquette etaient des <span>
   contenant un SVG. Elles deviennent le pseudo-element du bloc parent :
   aucun bloc vide a maintenir, et le client ne peut pas casser l'icone.
   ===================================================================== */
.tuile--ic::before {
  content: ''; display: block; width: 52px; height: 52px; border-radius: 13px;
  background-color: var(--mint-2); background-repeat: no-repeat;
  background-position: center; background-size: 26px 26px; margin-bottom: 18px;
}
.tuile__ic { display: none; }   /* au cas ou la pastille survivrait dans le contenu */

.tuile--wohnen::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28' fill='none'%3E%3Cpath d='M3.5 12.5L14 4l10.5 8.5V24a1.5 1.5 0 01-1.5 1.5H5A1.5 1.5 0 013.5 24V12.5z' stroke='%230D3C3E' stroke-width='1.6' stroke-linejoin='round'/%3E%3Cpath d='M10.5 25.5v-8h7v8' stroke='%230D3C3E' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E")}
.tuile--gesundheit::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28' fill='none'%3E%3Cpath d='M14 24.5S4 18.5 4 11.8A5.3 5.3 0 0114 9a5.3 5.3 0 0110 2.8c0 6.7-10 12.7-10 12.7z' stroke='%230D3C3E' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E")}
.tuile--ausbildung::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28' fill='none'%3E%3Cpath d='M14 4L2.5 10 14 16l11.5-6L14 4z' stroke='%230D3C3E' stroke-width='1.6' stroke-linejoin='round'/%3E%3Cpath d='M7 12.6V19c0 1.9 3.1 3.5 7 3.5s7-1.6 7-3.5v-6.4' stroke='%230D3C3E' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E")}
.tuile--kein-geld::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28' fill='none'%3E%3Cpath d='M14 3.5l10 4v6.3c0 5.9-4.1 10.6-10 12.7-5.9-2.1-10-6.8-10-12.7V7.5l10-4z' stroke='%230D3C3E' stroke-width='1.6' stroke-linejoin='round'/%3E%3Cpath d='M10 14.2l2.7 2.6L18.5 11' stroke='%2360D16A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
.tuile--nein::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28' fill='none'%3E%3Ccircle cx='14' cy='14' r='10.5' stroke='%230D3C3E' stroke-width='1.6'/%3E%3Cpath d='M14 8.5v6l3.8 2.2' stroke='%230D3C3E' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E")}
.tuile--klartext::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28' fill='none'%3E%3Crect x='4.5' y='3.5' width='19' height='21' rx='3' stroke='%230D3C3E' stroke-width='1.6'/%3E%3Cpath d='M9 10h10M9 14.5h10M9 19h6' stroke='%230D3C3E' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E")}
.tuile--daten::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28' fill='none'%3E%3Cpath d='M18.5 24v-2.3a4.5 4.5 0 00-4.5-4.5H7.5A4.5 4.5 0 003 21.7V24' stroke='%230D3C3E' stroke-width='1.6' stroke-linecap='round'/%3E%3Ccircle cx='10.7' cy='8.5' r='4.3' stroke='%230D3C3E' stroke-width='1.6'/%3E%3Cpath d='M25 24v-2.3a4.5 4.5 0 00-3.4-4.3M18.2 4.4a4.5 4.5 0 010 8.7' stroke='%230D3C3E' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E")}

/* coordonnees : la pastille devient le pseudo-element de la ligne */
.coord__item::before {
  content: ''; flex: none; width: 44px; height: 44px; border-radius: 11px;
  background-color: var(--mint); background-repeat: no-repeat;
  background-position: center; background-size: 21px 21px;
}
.coord__ic { display: none; }

.coord--tel::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22' fill='none'%3E%3Cpath d='M20 15.6v2.8a1.9 1.9 0 01-2 1.9 18.6 18.6 0 01-8.1-2.9 18.3 18.3 0 01-5.6-5.6A18.6 18.6 0 011.4 3.6 1.9 1.9 0 013.3 1.5h2.8a1.9 1.9 0 011.9 1.6c.1 1 .3 1.8.7 2.7a1.9 1.9 0 01-.4 2L7.1 9a15 15 0 005.6 5.6l1.2-1.2a1.9 1.9 0 012-.4c.9.3 1.8.6 2.7.7a1.9 1.9 0 011.4 1.9z' stroke='%230D3C3E' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E")}
.coord--mail::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22' fill='none'%3E%3Crect x='2' y='4' width='18' height='14' rx='2.5' stroke='%230D3C3E' stroke-width='1.6'/%3E%3Cpath d='M2.6 5.3L11 11.6l8.4-6.3' stroke='%230D3C3E' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E")}
.coord--ort::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22' fill='none'%3E%3Cpath d='M18.5 9.2c0 5.4-7.5 11.3-7.5 11.3S3.5 14.6 3.5 9.2a7.5 7.5 0 1115 0z' stroke='%230D3C3E' stroke-width='1.6' stroke-linejoin='round'/%3E%3Ccircle cx='11' cy='9' r='2.6' stroke='%230D3C3E' stroke-width='1.6'/%3E%3C/svg%3E")}
.coord--zeit::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22' fill='none'%3E%3Ccircle cx='11' cy='11' r='8.5' stroke='%230D3C3E' stroke-width='1.6'/%3E%3Cpath d='M11 6v5.3l3.3 1.9' stroke='%230D3C3E' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E")}

/* =====================================================================
   PAGES INTERNES — ajustements Gutenberg
   Les blocs natifs apportent leurs propres marges et balises ; ces regles
   remettent le rendu sur la maquette sans toucher aux classes d'origine.
   ===================================================================== */

/* une .coord est une suite de groupes, pas un <div> + <div> */
.coord__item > .wp-block-group { flex: 1; }
.coord__item .wp-block-heading { display:block; font-size:14px; margin-bottom:3px; font-weight:800; }
.coord__item p { color: var(--muted); font-size: 15px; margin: 0; }
.coord__item p a { color: var(--muted); }
.coord__item p a:hover { color: var(--teal); }

/* .mag__more est un core/buttons : flex, donc text-align ne le centre pas */
.wp-block-buttons.mag__more { justify-content: center; margin-top: 46px; }

/* theme.json coupe blockGap a zero pour tout le site ; la paire de boutons du
   bloc « fonctionnement » reclamait les 12 px de la maquette, visibles des que
   les deux boutons passent a la ligne sur mobile */
.wp-block-buttons.duo-boutons { gap: 12px; flex-wrap: wrap; }

/* .appel__duo est un core/buttons : il remplace le flex de la maquette.
   Le bouton fantome reutilise .b-contour, deja neutralise plus haut ; seule
   sa declinaison sur fond teal change. */
.wp-block-buttons.appel__duo { justify-content: center; gap: 13px; }
.appel .wp-block-button.b-contour .wp-block-button__link {
  background: transparent; border-color: rgba(255,255,255,.55); color: #fff;
}
.appel .wp-block-button.b-contour .wp-block-button__link:hover {
  background: #fff; color: var(--teal); border-color: #fff;
}

/* la liste a coche et les listes des tuiles sont des core/list */
.tuile .wp-block-list { margin:12px 0 0; padding-left:19px; font-size:14.5px;
  color:var(--muted); line-height:1.75; }
.tuile--ic .wp-block-list { padding-left:19px; }

/* les chiffres : un groupe par chiffre. Le nombre n'est pas un titre — il ne
   doit pas entrer dans le plan du document — d'ou un paragraphe classe. */
.chiffre .chiffre__n { font:800 40px/1 Mulish,sans-serif; color:var(--teal);
  margin:0 0 8px; letter-spacing:-.02em; }
.chiffre p { font-size:14px; color:var(--muted); font-weight:600; }

/* la FAQ : core/details, pas le <details> brut de la maquette */
.faq .wp-block-details { border-bottom:1px solid var(--line); padding:4px 0; }
.faq .wp-block-details summary { cursor:pointer; padding:18px 0; font-weight:700;
  font-size:16.5px; list-style:none; display:flex; justify-content:space-between;
  gap:18px; align-items:center; }
.faq .wp-block-details summary::-webkit-details-marker { display:none; }
.faq .wp-block-details summary::after { content:''; flex:none; width:11px; height:11px;
  border-right:2px solid var(--sage); border-bottom:2px solid var(--sage);
  transform:rotate(45deg); transition:transform .25s; margin-top:-4px; }
.faq .wp-block-details[open] summary::after { transform:rotate(-135deg); margin-top:3px; }
.faq .wp-block-details p { padding:0 0 18px; color:var(--muted); font-size:15.5px;
  line-height:1.7; max-width:70ch; margin:0; }

/* page legale : les titres de blocs portent la classe wp-block-heading */
.legal .wp-block-heading { font-size:24px; margin:38px 0 14px; }
.legal h3.wp-block-heading { font-size:17px; margin:24px 0 8px; }
.legal .wp-block-list { margin:0 0 16px; padding-left:20px; }
.legal .wp-block-list li { color:var(--muted); font-size:15.5px; line-height:1.75; }
.legal .legal__date { margin-top:34px; font-size:14px; }

/* ---------------------------------------------------------------------
   Dernier enfant de groupe
   WordPress emet « .is-layout-flow > :last-child { margin-block-end: 0 } »,
   de specificite (0,2,0) : elle efface la marge basse du dernier enfant de
   n'importe quel groupe et gagne contre une classe de composant. La maquette
   compte sur cette marge a deux endroits. On la restitue en nommant les
   composants concernes — annuler la regle pour tout le site deplacerait
   silencieusement chaque bloc.
   --------------------------------------------------------------------- */
.wp-block-group > .sect__lede:last-child { margin-block-end: 34px; }
.wp-block-group > .ft__legal-warn:last-child { margin-block-end: 11px; }

/* une .paire est un groupe de deux groupes ; le visuel est un core/image */
.paire__img .wp-block-image { margin: 0; }
.paire__img img { width:100%; border-radius:18px; aspect-ratio:1/.76; object-fit:cover; }

/* titres et chapeaux centres : la maquette le faisait en style inline */
.sect--centre .wp-block-heading { text-align: center; }
.sect--centre .lede { margin: 0 auto 42px; text-align: center; }
.sect--centre .wp-block-buttons { justify-content: center; margin-top: 40px; }

/* La maquette portait ces deux ecarts en style inline. Un style inline ne
   survit pas a l'editeur de blocs : ils reviennent ici, attaches au contexte.
   Mesure a l'appui : sans eux la colonne Zuschuesse perdait 20 px. */
.split .lede, .grant .lede { margin-top: 20px; }

/* Les garanties du hero et les notes d'avis etaient des <div> dans la
   maquette ; l'editeur de blocs produit des <p>. Les selecteurs en « div »
   ne mordaient plus : les badges perdaient leur icone, leur graisse et leur
   taille, et la rangee passait de 58 a 115 px de haut. */
.trust > p {
  display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700;
  color: #93A09C; letter-spacing: .01em; white-space: nowrap;
}
.trust > p::before {
  content: ''; flex: none; width: 15px; height: 15px; background: currentColor;
  -webkit-mask: center/contain no-repeat; mask: center/contain no-repeat;
}

/* Pastilles numerotees du panneau Zuschuesse. Les classes .gitem--1/2/3
   etaient deja posees par le motif, mais rien ne dessinait le chiffre :
   les trois lignes etaient 23 px trop courtes. */
.gitem[class*="gitem--"]::before {
  flex: none; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.1); display: grid; place-items: center;
  font: 800 14px/1 Mulish, sans-serif; color: var(--green);
}
.gitem--1::before { content: '1'; }
.gitem--2::before { content: '2'; }
.gitem--3::before { content: '3'; }
.gitem__n { display: none; }

/* panneau du formulaire de contact : les deux lignes d'introduction etaient
   posees en style inline dans la maquette */
.form-contact .form-contact__t { margin-bottom: 6px; }
.form-contact .form-contact__note { font-size:14px; color:var(--muted); margin-bottom:22px; }
.form-contact .form-contact__note a { color:var(--teal); font-weight:700; }

/* la grille de temoignages de la page Erfahrungen */
.who .wp-block-image { flex: none; margin: 0; }
.avis-carte .wp-block-quote { margin:0 0 20px; border:0; padding:0; font-style:normal; flex:1; }
.avis-carte .wp-block-quote p { font-size:15.5px; line-height:1.7; color:#24302E; }
.avis-carte .etoiles { color:#F2B705; font-size:14px; letter-spacing:2px; margin-bottom:14px; }
.who .who__nom { font-size:14.5px; font-weight:800; color:var(--ink); margin:0; }
.who .who__rolle { font-size:12.5px; color:var(--muted); margin:0; }

/* =====================================================================
   CLAUSE DE NON-RESPONSABILITE DU PIED
   Elle doit rester lisible sans interaction : les regies publicitaires
   financieres ne comptent pas un disclaimer replie comme affiche.
   ===================================================================== */
.ft__legal { border-bottom:1px solid var(--line); margin-bottom:44px; padding-bottom:32px; }
.ft__legal .ft__legal-t { font-size:14px; font-weight:800; color:var(--ink);
  margin:0 0 14px; letter-spacing:.01em; }
/* aucune limite de mesure : le texte occupe toute la largeur du conteneur,
   les marges laterales restant celles de .wrap */
.ft__legal p { font-size:12.5px; line-height:1.7; color:#8A938F; margin:0 0 11px; max-width:none; }
.ft__legal .ft__legal-ex { background:var(--mint); border-radius:8px; padding:13px 16px;
  color:#5C6865 !important; }
.ft__legal .ft__legal-ex strong { color:var(--ink); }
.ft__legal .ft__legal-warn { color:#7A6224 !important; background:#FFF8E1; border-radius:8px;
  padding:11px 16px; border:1px solid #F0E0A8; }
@media (max-width: 740px) {
  .ft__legal { margin-bottom:32px; padding-bottom:26px; }
  .ft__legal p { font-size:12px; }
  .ft__legal .ft__legal-ex, .ft__legal .ft__legal-warn { padding-left:13px; padding-right:13px; }
}
