/* Öffentliche Website von Assolio. Gestaltung nach dem Leitfaden „vitrine premium“:
   dunkle Bereiche mit farbigem Licht im Wechsel mit hellen, echte Bildschirmfotos in Rahmen,
   jede Animation zeigt eine Funktion. Keine Inline-Styles (CSP); Variablen setzt effets.js. */

@font-face { font-family: Poppins; font-weight: 400; font-display: swap; src: url("/fonts/poppins-400.woff2") format("woff2"); }
@font-face { font-family: Poppins; font-weight: 500; font-display: swap; src: url("/fonts/poppins-500.woff2") format("woff2"); }
@font-face { font-family: Poppins; font-weight: 600; font-display: swap; src: url("/fonts/poppins-600.woff2") format("woff2"); }
@font-face { font-family: Poppins; font-weight: 700; font-display: swap; src: url("/fonts/poppins-700.woff2") format("woff2"); }
@font-face { font-family: Poppins; font-weight: 800; font-display: swap; src: url("/fonts/poppins-800.woff2") format("woff2"); }

@property --angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

:root {
  /* Farben von Assolio (styles.css der App): Tannengrün, Gold, Papierweiß. */
  --nuit: #0b241d;
  --nuit-2: #123f34;
  --marine: #16211d;
  --emeraude: #155b49;
  --emeraude-fonce: #155b49;
  --emeraude-pale: #dcebe4;
  --menthe: #f1b84b;
  --cyan: #8fd3b5;
  --bleu: #2f7d64;
  --orange: #d58a28;
  --texte: #16211d;
  --gris: #65736e;
  --gris-nuit: #b6ccc3;
  --para-nuit: #cfe0d8;
  --fond: #f4f6f2;
  --bordure: #dfe5df;
  --degrade: linear-gradient(90deg, #f1b84b, #f7d58a, #9fd4bc, #f1b84b);
  --serif: Georgia, "Times New Roman", serif;
  --courbe: cubic-bezier(0.2, 0.7, 0.2, 1);
  --entete: 4.5rem;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--entete) + 1rem); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: Poppins, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--texte);
  background: var(--fond);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
svg { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
a { color: var(--emeraude-fonce); }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.conteneur { width: min(100% - 2rem, 1180px); margin-inline: auto; }
.conteneur-etroit { width: min(100% - 2rem, 820px); }

.sprungmarke { position: absolute; left: 1rem; top: -4rem; z-index: 100; padding: 0.6rem 1rem; color: #fff; background: var(--marine); border-radius: 999px; }
.sprungmarke:focus { top: 1rem; }

/* --- En-tête -------------------------------------------------------------------------- */
.entete { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--entete); transition: background 0.25s, box-shadow 0.25s, backdrop-filter 0.25s; }
.entete-ligne { display: flex; align-items: center; gap: 1.5rem; height: 100%; }
.logo { display: inline-flex; align-items: center; gap: 0.6rem; color: #fff; text-decoration: none; font-family: var(--serif); font-weight: 700; font-size: 1.15rem; white-space: nowrap; }
.logo b { font-weight: 800; background: var(--degrade); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo-marque { display: block; width: 2.3rem; height: 2.3rem; flex: none; }
.menu { display: flex; gap: 1.6rem; margin-left: auto; }
.menu a { color: rgb(255 255 255 / 82%); text-decoration: none; font-weight: 500; font-size: 0.93rem; transition: color 0.25s; }
.menu a:hover { color: #fff; }
.langues { display: inline-flex; padding: 0.2rem; border: 1px solid rgb(255 255 255 / 18%); border-radius: 999px; }
.langues a { padding: 0.15rem 0.6rem; border-radius: 999px; color: rgb(255 255 255 / 75%); font-size: 0.78rem; font-weight: 600; text-decoration: none; transition: background 0.25s, color 0.25s; }
.langues a.actif { color: var(--nuit); background: #fff; }
.entete.defile { background: rgb(255 255 255 / 82%); backdrop-filter: blur(16px) saturate(1.6); -webkit-backdrop-filter: blur(16px) saturate(1.6); box-shadow: 0 1px 0 rgb(18 63 52 / 8%); }
.entete.defile .logo, .entete.defile .menu a { color: var(--marine); }
.entete.defile .langues { border-color: var(--bordure); }
.entete.defile .langues a { color: var(--gris); }
.entete.defile .langues a.actif { color: #fff; background: var(--marine); }
/* Menüknopf (☰) für schmale Bildschirme; ohne Skript ausgeblendet, das Menü steht dann als Zeile. */
.menu a.menu-cta { display: none; }
.menu-knopf { display: none; flex: none; width: 2.6rem; height: 2.6rem; padding: 0.7rem 0.6rem; border: 1px solid rgb(255 255 255 / 18%); border-radius: 12px; background: transparent; cursor: pointer; flex-direction: column; justify-content: space-between; }
.menu-knopf span { display: block; height: 2px; border-radius: 2px; background: #fff; transition: transform 0.25s, opacity 0.25s; }
.entete.defile .menu-knopf { border-color: var(--bordure); }
.entete.defile .menu-knopf span { background: var(--marine); }
.entete.offen .menu-knopf span:nth-child(1) { transform: translateY(0.45rem) rotate(45deg); }
.entete.offen .menu-knopf span:nth-child(2) { opacity: 0; }
.entete.offen .menu-knopf span:nth-child(3) { transform: translateY(-0.45rem) rotate(-45deg); }

/* --- Boutons -------------------------------------------------------------------------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.85rem 1.5rem; border: 1px solid transparent; border-radius: 999px; font: inherit; font-weight: 600; font-size: 0.95rem; text-decoration: none; cursor: pointer; overflow: hidden; transition: transform 0.25s var(--courbe), box-shadow 0.25s, border-color 0.25s, background 0.25s; }
.btn svg { transition: transform 0.25s var(--courbe); }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg { transform: translateX(3px); }
.btn-lumineux { color: #173b31; background: linear-gradient(135deg, #f7d58a, #f1b84b 55%, #e2a43a); box-shadow: 0 10px 30px -8px rgb(241 184 75 / 55%), 0 0 0 4px rgb(241 184 75 / 14%); }
.btn-lumineux::after { position: absolute; inset: 0; content: ""; background: linear-gradient(110deg, transparent 30%, rgb(255 255 255 / 55%) 50%, transparent 70%); transform: translateX(-120%); animation: reflet 4s var(--courbe) infinite; }
.btn-verre { color: #fff; background: rgb(255 255 255 / 7%); border-color: rgb(255 255 255 / 16%); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-verre:hover { background: rgb(255 255 255 / 12%); }
.btn-contour { color: var(--marine); background: #fff; border-color: var(--bordure); }
.btn-contour:hover { border-color: var(--emeraude); }
.btn-petit { padding: 0.55rem 1.1rem; font-size: 0.86rem; white-space: nowrap; }
.btn-large { width: 100%; }
@keyframes reflet { 0%, 55% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }

/* --- Fond animé (accroche) ------------------------------------------------------------ */
.fond { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.lueurs { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.lueurs i { position: absolute; border-radius: 50%; filter: blur(70px); }
.lueurs i:nth-child(1) { width: 38rem; height: 38rem; left: -10rem; top: -8rem; background: rgb(21 91 73 / 90%); opacity: 0.55; animation: derive 22s ease-in-out infinite alternate; }
.lueurs i:nth-child(2) { width: 34rem; height: 34rem; right: -8rem; top: 4rem; background: rgb(47 125 100 / 75%); opacity: 0.5; animation: derive 27s ease-in-out infinite alternate-reverse; }
.lueurs i:nth-child(3) { width: 26rem; height: 26rem; left: 35%; top: 30%; background: rgb(143 211 181 / 45%); opacity: 0.5; animation: derive 18s ease-in-out infinite alternate; }
.lueurs-douces i { opacity: 0.22 !important; }
@keyframes derive { to { translate: 6rem 4rem; scale: 1.15; } }
.faisceau { position: absolute; left: 50%; top: -10%; width: 70rem; height: 60rem; translate: -50% 0; background: conic-gradient(from 180deg at 50% 0%, transparent 160deg, rgb(255 255 255 / 9%) 175deg, rgb(241 184 75 / 14%) 180deg, rgb(255 255 255 / 9%) 185deg, transparent 200deg); filter: blur(8px); }
.sol { position: absolute; left: -50%; right: -50%; bottom: -10%; height: 60%; background-image: linear-gradient(rgb(241 184 75 / 18%) 1px, transparent 1px), linear-gradient(90deg, rgb(241 184 75 / 18%) 1px, transparent 1px); background-size: 64px 64px; transform: perspective(600px) rotateX(64deg); transform-origin: top; mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 60%, transparent); -webkit-mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 60%, transparent); animation: avance 3s linear infinite; }
@keyframes avance { to { background-position: 0 64px; } }

/* --- Accroche --------------------------------------------------------------------------- */
.accroche { position: relative; padding: calc(var(--entete) + 5rem) 0 0; color: #fff; background: var(--nuit); overflow: hidden; isolation: isolate; }
.accroche::after { position: absolute; inset: auto 0 0; height: 14rem; content: ""; background: linear-gradient(to bottom, transparent, var(--nuit)); pointer-events: none; z-index: 2; }
.accroche-courte { min-height: 80vh; padding-bottom: 6rem; }
.accroche-texte { position: relative; z-index: 3; text-align: center; }
.pastille-nouveau { position: relative; display: inline-block; margin-bottom: 1.6rem; padding: 0.35rem 1rem; overflow: hidden; border: 1px solid rgb(241 184 75 / 35%); border-radius: 999px; font-size: 0.82rem; font-weight: 600; color: var(--menthe); background: rgb(241 184 75 / 8%); }
.pastille-nouveau::after { position: absolute; inset: 0; content: ""; background: linear-gradient(110deg, transparent 30%, rgb(255 255 255 / 35%) 50%, transparent 70%); animation: reflet 5s var(--courbe) infinite; }
.accroche-titre { font-family: var(--serif); font-size: clamp(2.6rem, 6.6vw, 5.2rem); font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; text-wrap: balance; }
.degrade { background: var(--degrade); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: glisse 9s linear infinite; }
@keyframes glisse { to { background-position: 200% 0; } }
.chapeau { max-width: 44rem; margin: 1.6rem auto 0; font-size: clamp(1.05rem, 1.9vw, 1.28rem); color: var(--para-nuit); }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.9rem; margin-top: 2.2rem; }
.garanties { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem 1.6rem; margin-top: 1.8rem; font-size: 0.9rem; color: var(--para-nuit); }
.garanties li { display: inline-flex; align-items: center; gap: 0.45rem; }
.garanties svg { color: var(--menthe); }
.garanties.gauche { justify-content: flex-start; flex-direction: column; margin: 1.6rem 0 2rem; }

.scene { position: relative; z-index: 1; width: min(100% - 2rem, 1080px); margin: 4rem auto 0; perspective: 1800px; }
.scene-halo { position: absolute; inset: 10% 5% -5%; border-radius: 50%; background: radial-gradient(closest-side, rgb(241 184 75 / 40%), rgb(143 211 181 / 18%), transparent); filter: blur(40px); }
.scene-plateau { position: relative; transform: rotateX(var(--rx, 14deg)) rotateY(var(--ry, 0deg)); transform-style: preserve-3d; transition: transform 0.6s var(--courbe); }
.navigateur { margin: 0; overflow: hidden; border: 1px solid rgb(255 255 255 / 12%); border-radius: 16px; background: var(--nuit-2); box-shadow: 0 50px 100px -30px rgb(0 0 0 / 70%), 0 0 0 1px rgb(255 255 255 / 4%); }
.navigateur-barre { display: flex; align-items: center; gap: 0.4rem; height: 2.4rem; padding: 0 0.9rem; background: var(--nuit-2); border-bottom: 1px solid rgb(255 255 255 / 8%); }
.navigateur-barre i { width: 0.7rem; height: 0.7rem; border-radius: 50%; background: #ff5f57; }
.navigateur-barre i:nth-child(2) { background: #febc2e; }
.navigateur-barre i:nth-child(3) { background: #28c840; }
.adresse { display: inline-flex; align-items: center; gap: 0.4rem; margin: 0 auto; padding: 0.2rem 1rem; border-radius: 8px; font-size: 0.75rem; color: var(--gris-nuit); background: rgb(255 255 255 / 6%); }
.adresse svg { color: var(--menthe); }
.telephone { position: absolute; right: -3%; bottom: -8%; width: 20%; margin: 0; overflow: hidden; border: 6px solid #0b241d; border-radius: 38px; background: #0b241d; box-shadow: 0 40px 80px -20px rgb(0 0 0 / 70%); transform: translateZ(90px); animation: flotte 7s ease-in-out infinite; }
@keyframes flotte { 50% { translate: 0 -12px; } }
.puce { position: absolute; display: flex; align-items: center; gap: 0.7rem; padding: 0.7rem 1rem; border: 1px solid rgb(255 255 255 / 18%); border-radius: 16px; color: #fff; background: rgb(11 36 29 / 55%); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 20px 40px -15px rgb(0 0 0 / 60%); animation: flotte 6s ease-in-out infinite; }
.puce small { display: block; font-size: 0.72rem; color: var(--gris-nuit); }
.puce strong { font-size: 1rem; }
.puce-icone { display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 10px; color: #173b31; background: #f1b84b; }
.puce-1 { left: -4%; top: 18%; transform: translateZ(150px); }
.puce-2 { right: -4%; top: 16%; transform: translateZ(110px); animation-delay: -2s; }
.puce-3 { left: 6%; bottom: 6%; transform: translateZ(80px); animation-delay: -4s; }
.anneau { width: 2.4rem; height: 2.4rem; rotate: -90deg; stroke-width: 4; }
.anneau circle { stroke: rgb(255 255 255 / 15%); }
.anneau .anneau-valeur { stroke: var(--menthe); stroke-dasharray: 94.25; stroke-dashoffset: 94.25; animation: remplit 2.4s var(--courbe) 0.8s forwards; }
@keyframes remplit { to { stroke-dashoffset: 30.2; } }

/* --- Bande défilante -------------------------------------------------------------------- */
.bande { padding: 1.4rem 0; overflow: hidden; color: var(--gris-nuit); background: var(--nuit); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.bande-piste { display: flex; align-items: center; gap: 2rem; width: max-content; animation: defile 40s linear infinite; font-weight: 600; white-space: nowrap; }
.bande-piste i { width: 6px; height: 6px; border-radius: 50%; background: var(--menthe); box-shadow: 0 0 10px var(--menthe); }
@keyframes defile { to { transform: translateX(-50%); } }

/* --- Chiffres --------------------------------------------------------------------------- */
.chiffres { padding: 3.5rem 0 5rem; color: #fff; background: var(--nuit); }
.chiffres-grille { display: grid; grid-template-columns: repeat(4, 1fr); }
.chiffre { padding: 0 1.5rem; text-align: center; border-left: 1px solid rgb(255 255 255 / 10%); }
.chiffre:first-child { border-left: 0; }
.chiffre strong { display: block; font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 700; line-height: 1.1; background: linear-gradient(180deg, #fff, var(--menthe)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.chiffre span { font-size: 0.9rem; color: var(--gris-nuit); }

/* --- Sections ----------------------------------------------------------------------------- */
.section { position: relative; padding: 6.5rem 0; overflow: hidden; }
.claire { background: var(--fond); }
.fond-teinte { background: linear-gradient(180deg, #fff, var(--fond)); }
.fond-blanc { background: #fff; }
.sombre { color: #fff; background: var(--nuit); isolation: isolate; }
.sombre .lueurs { z-index: -1; }
.section-tete { max-width: 46rem; margin: 0 auto 3.2rem; text-align: center; }
.section-tete.gauche { margin-inline: 0; text-align: left; }
.section-tete h2, .contact-titre { font-family: var(--serif); font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 700; letter-spacing: -0.01em; text-wrap: balance; }
.section-tete > p:last-child { margin-top: 1rem; font-size: 1.08rem; color: var(--gris); }
.sombre .section-tete > p:last-child { color: var(--para-nuit); }
.surtitre { margin-bottom: 0.8rem; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--emeraude-fonce); }
.sombre .surtitre { color: var(--menthe); }
.pastille-icone { display: grid; flex: none; place-items: center; width: 2.9rem; height: 2.9rem; border-radius: 14px; font-size: 1.3rem; color: var(--emeraude-fonce); background: var(--emeraude-pale); }
.pastille-icone.sombre { color: var(--menthe); background: rgb(241 184 75 / 12%); }

/* --- Visite guidée ------------------------------------------------------------------------ */
.visite { display: grid; grid-template-columns: minmax(16rem, 0.8fr) 2fr; gap: 2.5rem; align-items: center; }
.visite-onglets { display: grid; gap: 0.6rem; }
.visite-onglet { position: relative; display: block; width: 100%; padding: 1.1rem 1.3rem; overflow: hidden; border: 1px solid transparent; border-radius: 18px; font: inherit; text-align: left; color: var(--gris); background: transparent; cursor: pointer; transition: background 0.25s, border-color 0.25s, box-shadow 0.25s; }
.visite-onglet strong { display: block; font-size: 1.05rem; color: var(--marine); }
.visite-texte { display: grid; grid-template-rows: 0fr; font-size: 0.92rem; transition: grid-template-rows 0.4s var(--courbe), margin 0.4s; }
.visite-texte { overflow: hidden; }
.visite-onglet.actif { border-color: var(--bordure); background: #fff; box-shadow: 0 20px 40px -25px rgb(18 63 52 / 35%); }
.visite-onglet.actif .visite-texte { grid-template-rows: 1fr; margin-top: 0.4rem; }
.visite-onglet:not(.actif) .visite-texte { max-height: 0; }
.visite-progression { position: absolute; inset: auto 1.3rem 0.6rem; height: 3px; overflow: hidden; border-radius: 3px; background: var(--bordure); opacity: 0; }
.visite-onglet.actif .visite-progression { opacity: 1; }
.visite-progression i { display: block; width: 100%; height: 100%; background: linear-gradient(90deg, var(--emeraude), var(--menthe)); transform-origin: left; transform: scaleX(0); }
.visite-onglet.actif.avance .visite-progression i { animation: progresse 7s linear forwards; }
.visite.pause .visite-progression i { animation-play-state: paused; }
@keyframes progresse { to { transform: scaleX(1); } }
.navigateur-clair { border-color: var(--bordure); box-shadow: 0 40px 80px -40px rgb(18 63 52 / 45%); }
.visite-ecrans { display: grid; background: #fff; }
.visite-ecran { grid-area: 1 / 1; width: 100%; opacity: 0; scale: 1.03; transition: opacity 0.6s var(--courbe), scale 0.9s var(--courbe); }
.visite-ecran.actif { opacity: 1; scale: 1; }

/* --- Mosaïque ------------------------------------------------------------------------------- */
.mosaique { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.2rem; grid-template-areas:
  "import import ticket ticket tel tel"
  "import import barres barres tel tel"
  "langues langues tontine tontine liste liste"
  "aussi aussi aussi aussi aussi aussi"; }
.zone-import { grid-area: import; } .zone-ticket { grid-area: ticket; } .zone-telephone { grid-area: tel; }
.zone-barres { grid-area: barres; } .zone-langues { grid-area: langues; } .zone-tontine { grid-area: tontine; }
.zone-liste { grid-area: liste; } .zone-aussi { grid-area: aussi; }
.tuile { position: relative; display: flex; flex-direction: column; gap: 0.5rem; padding: 1.6rem; overflow: hidden; border: 1px solid var(--bordure); border-radius: 26px; background: #fff; transition: transform 0.25s var(--courbe), box-shadow 0.25s; }
.tuile:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -35px rgb(18 63 52 / 45%); }
.tuile h3 { font-size: 1.15rem; font-weight: 700; }
.tuile p { font-size: 0.93rem; color: var(--gris); }
.lueur::before { position: absolute; inset: 0; content: ""; pointer-events: none; background: radial-gradient(480px circle at var(--mx, 50%) var(--my, 50%), rgb(21 91 73 / 13%), transparent 60%); opacity: 0; transition: opacity 0.35s; }
.lueur:hover::before { opacity: 1; }
.demo { position: relative; display: grid; place-items: center; min-height: 9rem; margin-bottom: 0.6rem; border-radius: 18px; background: linear-gradient(180deg, var(--fond), #fff); }
.zone-import .demo { min-height: 15rem; flex: 1; }

/* Kontoauszug: ein Strahl tastet die Zeilen ab, dann der Stempel. */
.releve { position: relative; display: grid; gap: 0.65rem; width: min(70%, 20rem); padding: 1.4rem; border: 1px solid var(--bordure); border-radius: 12px; background: #fff; box-shadow: 0 20px 40px -25px rgb(18 63 52 / 40%); }
.releve i { height: 0.55rem; border-radius: 4px; background: #e7ece6; }
.releve i:nth-child(odd) { width: 85%; } .releve i:nth-child(3n) { width: 60%; }
.rayon { position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, transparent, var(--emeraude), transparent); box-shadow: 0 0 18px 4px rgb(21 91 73 / 45%); opacity: 0; }
.visible .rayon { animation: balaie 5s var(--courbe) infinite; }
@keyframes balaie { 0% { top: 0; opacity: 0; } 10% { opacity: 1; } 55% { top: 100%; opacity: 1; } 60%, 100% { top: 100%; opacity: 0; } }
.tampon { position: absolute; right: -0.8rem; bottom: -0.8rem; padding: 0.3rem 0.9rem; border: 3px solid var(--emeraude); border-radius: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--emeraude); background: rgb(255 255 255 / 92%); rotate: -10deg; opacity: 0; scale: 1.6; }
.visible .tampon { animation: tamponne 5s var(--courbe) infinite; }
@keyframes tamponne { 0%, 55% { opacity: 0; scale: 1.6; } 62%, 92% { opacity: 1; scale: 1; } 100% { opacity: 0; scale: 1; } }

/* Zuwendungsbestaetigung kommt aus dem Drucker. */
.demo-ticket { align-content: start; padding-top: 1rem; }
.fente { width: 75%; height: 0.7rem; border-radius: 999px; background: var(--marine); box-shadow: inset 0 3px 4px rgb(0 0 0 / 50%); }
.ticket { width: 62%; height: 8rem; margin-top: -0.35rem; overflow: hidden; }
.ticket-papier { --dent: 7px; display: grid; gap: 0.25rem; padding: 0.8rem 0.9rem 1.2rem; font-size: 0.72rem; color: var(--gris); background: #fff; box-shadow: 0 8px 18px -10px rgb(18 63 52 / 40%); mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(2 * var(--dent)) 100%; -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(2 * var(--dent)) 100%; transform: translateY(-100%); transition: transform 2.8s cubic-bezier(0.3, 0.6, 0.3, 1) 0.5s; }
.ticket-papier b { color: var(--marine); }
.ticket-papier strong { font-size: 1rem; color: var(--emeraude-fonce); }
.ticket-papier i { height: 0.4rem; border-radius: 3px; background: #e7ece6; }
.visible .ticket-papier { transform: translateY(0); }

/* Mitgliederzugang: eine Benachrichtigung kommt an. */
.demo-telephone { min-height: 15rem; flex: 1; }
.mini-telephone { position: relative; display: grid; align-content: start; gap: 0.6rem; width: 8.5rem; height: 14rem; padding: 2.6rem 0.7rem 0.7rem; overflow: hidden; border: 5px solid var(--marine); border-radius: 26px; background: linear-gradient(180deg, #eef3ee, #fff); }
.mini-telephone > i { height: 2.2rem; border-radius: 10px; background: #fff; border: 1px solid var(--bordure); }
.notification { position: absolute; inset: 0.5rem 0.4rem auto; display: flex; align-items: center; gap: 0.4rem; padding: 0.5rem; border-radius: 12px; font-size: 0.66rem; font-weight: 600; line-height: 1.25; color: #fff; background: var(--marine); box-shadow: 0 10px 20px -10px rgb(0 0 0 / 60%); translate: 0 -150%; }
.notification svg { color: var(--menthe); font-size: 1rem; }
.visible .notification { animation: notifie 5s var(--courbe) infinite; }
@keyframes notifie { 0%, 10% { translate: 0 -150%; } 22%, 70% { translate: 0 0; } 82%, 100% { translate: 0 -150%; } }

/* Haushaltsplan: Balken wachsen. */
.demo-barres { display: flex; align-items: flex-end; justify-content: center; gap: 0.7rem; padding: 1.2rem; }
.demo-barres i { width: 1.6rem; height: 7rem; border-radius: 8px 8px 4px 4px; background: linear-gradient(180deg, #2f7d64, var(--emeraude)); transform-origin: bottom; transform: scaleY(0.08); transition: transform 1.2s var(--courbe); }
.demo-barres i:nth-child(2) { transition-delay: 0.1s; } .demo-barres i:nth-child(3) { transition-delay: 0.2s; background: linear-gradient(180deg, #f7d58a, var(--orange)); }
.demo-barres i:nth-child(4) { transition-delay: 0.3s; } .demo-barres i:nth-child(5) { transition-delay: 0.4s; }
.visible .demo-barres i:nth-child(1) { transform: scaleY(0.55); } .visible .demo-barres i:nth-child(2) { transform: scaleY(0.8); }
.visible .demo-barres i:nth-child(3) { transform: scaleY(0.4); } .visible .demo-barres i:nth-child(4) { transform: scaleY(0.95); }
.visible .demo-barres i:nth-child(5) { transform: scaleY(0.7); }

/* Sprachen: ein Wort wechselt. */
.demo-langues { display: grid; }
.demo-langues span { grid-area: 1 / 1; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -0.02em; color: var(--marine); opacity: 0; translate: 0 0.6em; }
.visible .demo-langues span { animation: bascule 7.5s var(--courbe) infinite; }
.demo-langues span:nth-child(2) { animation-delay: 2.5s !important; } .demo-langues span:nth-child(3) { animation-delay: 5s !important; }
@keyframes bascule { 0% { opacity: 0; translate: 0 0.6em; } 6%, 30% { opacity: 1; translate: 0 0; } 36%, 100% { opacity: 0; translate: 0 -0.6em; } }

/* Tontine: Teilnehmer zahlen nach und nach ein. */
.demo-tontine { grid-template-columns: repeat(6, 1.6rem); gap: 0.55rem; align-content: center; justify-content: center; }
.demo-tontine i { width: 1.6rem; height: 1.6rem; border-radius: 50%; background: #dfe5df; transition: background 0.4s, box-shadow 0.4s; }
.demo-tontine small { grid-column: 1 / -1; margin-top: 0.4rem; text-align: center; font-size: 0.75rem; font-weight: 600; color: var(--emeraude-fonce); }
.visible .demo-tontine i { animation: paye 6s var(--courbe) infinite; }
.demo-tontine i:nth-child(7) { background: var(--orange); box-shadow: 0 0 0 4px rgb(249 115 22 / 18%); animation: none !important; }
@keyframes paye { 0%, 15% { background: #dfe5df; } 30%, 90% { background: var(--emeraude); } 100% { background: #dfe5df; } }

/* Sitzung: Liste hakt sich ab. */
.demo-liste { display: grid; gap: 0.6rem; align-content: center; padding: 1.2rem; }
.demo-liste li { display: flex; align-items: center; gap: 0.6rem; padding: 0.55rem 0.8rem; border: 1px solid var(--bordure); border-radius: 12px; font-size: 0.85rem; font-weight: 500; background: #fff; }
.demo-liste svg { padding: 0.15rem; border-radius: 50%; color: #fff; background: #dfe5df; transition: background 0.3s; }
.visible .demo-liste li svg { animation: coche 6s steps(1) infinite; }
.demo-liste li:nth-child(2) svg { animation-delay: 1s !important; } .demo-liste li:nth-child(3) svg { animation-delay: 2s !important; }
@keyframes coche { 0% { background: #dfe5df; } 15%, 85% { background: var(--emeraude); } 100% { background: #dfe5df; } }

.tuile-sombre { color: #fff; background: var(--nuit); border-color: var(--nuit-2); }
.etiquettes { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 0.6rem; }
.etiquettes li { padding: 0.4rem 0.9rem; border: 1px solid rgb(255 255 255 / 14%); border-radius: 999px; font-size: 0.86rem; color: var(--para-nuit); background: rgb(255 255 255 / 5%); }

/* --- Sécurité ----------------------------------------------------------------------------- */
.securite { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: center; }
.engagements { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.carte-verre { display: flex; gap: 1rem; padding: 1.3rem; border: 1px solid rgb(255 255 255 / 10%); border-radius: 22px; background: rgb(255 255 255 / 5%); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.carte-verre:last-child:nth-child(odd) { grid-column: 1 / -1; }
.carte-verre h3 { margin-bottom: 0.3rem; font-size: 1rem; }
.carte-verre p { font-size: 0.88rem; color: var(--para-nuit); }
.orbite-zone { position: relative; display: grid; place-items: center; aspect-ratio: 1; max-width: 26rem; width: 100%; margin-inline: auto; }
.symbole { position: relative; z-index: 2; display: grid; place-items: center; width: 7rem; height: 7rem; border-radius: 4px; font-family: var(--serif); font-size: 2.6rem; font-weight: 600; color: #173b31; background: #f1b84b; box-shadow: 0 0 60px rgb(241 184 75 / 45%); }
.ondes, .orbite { position: absolute; inset: 0; display: grid; place-items: center; }
.ondes i { position: absolute; width: 7rem; height: 7rem; border: 2px solid rgb(241 184 75 / 50%); border-radius: 30px; animation: onde 4.5s var(--courbe) infinite; }
.ondes i:nth-child(2) { animation-delay: 1.5s; } .ondes i:nth-child(3) { animation-delay: 3s; }
@keyframes onde { from { scale: 1; opacity: 0.8; } to { scale: 2.8; opacity: 0; } }
.orbite { inset: 6%; border: 1px dashed rgb(255 255 255 / 18%); border-radius: 50%; animation: tourne-orbite 30s linear infinite; }
.satellite { position: absolute; display: grid; place-items: center; width: 3rem; height: 3rem; border: 1px solid rgb(255 255 255 / 16%); border-radius: 14px; font-size: 1.3rem; color: var(--menthe); background: var(--nuit-2); animation: tourne-orbite 30s linear infinite reverse; }
.s1 { top: -1.5rem; left: calc(50% - 1.5rem); } .s2 { bottom: 10%; left: 2%; } .s3 { bottom: 10%; right: 2%; }
@keyframes tourne-orbite { to { rotate: 360deg; } }

/* --- Ausblick -------------------------------------------------------------------------------- */
.feuille-route { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); gap: 1.4rem; }
.carte-route { padding: 1.8rem; border: 1px solid var(--bordure); border-radius: 22px; background: #fff; }
.carte-route header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.2rem; }
.carte-route h3 { font-size: 1.2rem; }
.carte-route ul { display: grid; gap: 1rem; }
.carte-route li { display: flex; gap: 0.9rem; }
.carte-route li p { font-size: 0.9rem; color: var(--gris); }
.statut { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.25rem 0.8rem; border-radius: 999px; font-size: 0.78rem; font-weight: 700; }
.statut-in_arbeit { color: var(--emeraude-fonce); background: var(--emeraude-pale); }
.statut-in_arbeit i { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--emeraude); animation: pouls 1.6s ease-in-out infinite; }
.statut-geplant { color: #39758c; background: #e3eef2; }
@keyframes pouls { 50% { box-shadow: 0 0 0 6px rgb(21 91 73 / 0%); scale: 1.2; } 0% { box-shadow: 0 0 0 0 rgb(21 91 73 / 50%); } }

/* --- Étapes ------------------------------------------------------------------------------------- */
.etapes { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; counter-reset: none; }
.etapes::before { position: absolute; top: 1.6rem; left: 12.5%; right: 12.5%; height: 2px; content: ""; background: linear-gradient(90deg, var(--emeraude), var(--menthe)); transform-origin: left; transform: scaleX(0); transition: transform 1.8s var(--courbe) 0.3s; }
.etapes.visible::before { transform: scaleX(1); }
.etapes li { position: relative; text-align: center; }
.etape-numero { display: grid; place-items: center; width: 3.2rem; height: 3.2rem; margin: 0 auto 1rem; border: 2px solid var(--emeraude); border-radius: 50%; font-weight: 800; font-size: 1.1rem; color: var(--emeraude-fonce); background: #fff; position: relative; }
.etapes h3 { margin-bottom: 0.4rem; font-size: 1.05rem; }
.etapes p { font-size: 0.9rem; color: var(--gris); }

/* --- Tarifs --------------------------------------------------------------------------------------- */
.tarifs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15.5rem), 1fr)); gap: 1.3rem; align-items: stretch; }
.tarifs-1 { max-width: 26rem; margin-inline: auto; } .tarifs-2 { max-width: 52rem; margin-inline: auto; }
.carte-tarif { position: relative; display: flex; flex-direction: column; gap: 0.9rem; padding: 1.8rem 1.6rem; border: 1px solid var(--bordure); border-radius: 22px; background: #fff; }
.carte-tarif h3 { font-size: 1.2rem; }
.tarif-description { font-size: 0.9rem; color: var(--gris); }
.prix { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.4rem; }
.prix strong { font-size: 2.3rem; font-weight: 800; letter-spacing: -0.02em; }
.prix .sur-demande { font-size: 1.5rem; }
.prix span { font-size: 0.9rem; color: var(--gris); }
.tarif-limite { display: flex; align-items: center; gap: 0.5rem; font-size: 0.88rem; font-weight: 600; color: var(--emeraude-fonce); }
.merkmale { display: grid; gap: 0.5rem; margin-bottom: 0.4rem; font-size: 0.9rem; }
.merkmale li { display: flex; gap: 0.5rem; }
.merkmale svg { margin-top: 0.3em; color: var(--emeraude); }
.carte-tarif .btn { margin-top: auto; }
.vedette { isolation: isolate; border-color: transparent; }
.vedette::before { position: absolute; inset: -2px; z-index: -2; content: ""; background: conic-gradient(from var(--angle), #155b49, #f1b84b, #8fd3b5, #f7d58a, #155b49); border-radius: 24px; animation: tourne 6s linear infinite; }
.vedette::after { position: absolute; inset: 0; z-index: -1; content: ""; background: #fff; border-radius: 22px; }
@keyframes tourne { to { --angle: 360deg; } }
.ruban { position: absolute; top: -0.8rem; right: 1.4rem; padding: 0.25rem 0.9rem; border-radius: 999px; font-size: 0.75rem; font-weight: 700; color: #173b31; background: #f1b84b; }
.tarifs-aucun { max-width: 34rem; margin-inline: auto; padding: 1.8rem; border: 1px dashed var(--bordure); border-radius: 22px; text-align: center; color: var(--gris); background: #fff; }
.options-tarif { margin: 2rem auto 0; max-width: 46rem; }
.options-tarif h3 { text-align: center; font-size: 1.1rem; margin-bottom: 0.8rem; }
.options-tarif ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.options-tarif li { display: grid; gap: 0.15rem; padding: 0.8rem 1rem; border: 1px solid #dfe5df; border-radius: 0.8rem; background: #fff; }
.options-tarif li span { font-size: 0.9rem; color: var(--gris); }
.options-tarif li em { font-style: normal; font-weight: 600; font-size: 0.9rem; color: var(--emeraude-fonce); }
.tarifs-note { margin-top: 1.6rem; text-align: center; font-size: 0.85rem; color: var(--gris); }
.calculateur { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.2rem 2rem; max-width: 52rem; margin: 2.4rem auto 0; padding: 1.4rem 1.8rem; border: 1px solid var(--bordure); border-radius: 22px; background: #fff; }
.calculateur h3 { font-size: 1.05rem; }
.calculateur label { display: flex; align-items: center; gap: 0.8rem; font-size: 0.9rem; color: var(--gris); }
.calculateur input { width: 7rem; padding: 0.55rem 0.8rem; border: 1px solid var(--bordure); border-radius: 12px; font: inherit; font-weight: 600; color: var(--marine); }
.calculateur input:focus { outline: none; border-color: var(--emeraude); box-shadow: 0 0 0 4px rgb(21 91 73 / 15%); }
.calculateur output { text-align: right; }
.calculateur output small { display: block; font-size: 0.75rem; color: var(--gris); }
.calculateur output strong { font-size: 1.1rem; }
.calculateur output span { display: block; font-size: 0.9rem; color: var(--emeraude-fonce); font-weight: 600; }

/* --- Questions --------------------------------------------------------------------------------- */
.questions { display: grid; gap: 0.8rem; }
.questions details { border: 1px solid var(--bordure); border-radius: 18px; background: var(--fond); interpolate-size: allow-keywords; }
.questions details::details-content { height: 0; overflow: clip; transition: height 0.4s var(--courbe), content-visibility 0.4s allow-discrete; }
.questions details[open]::details-content { height: auto; }
.questions summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.4rem; font-weight: 600; cursor: pointer; list-style: none; }
.questions summary::-webkit-details-marker { display: none; }
.plus { position: relative; flex: none; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: #fff; transition: rotate 0.3s var(--courbe); }
.plus::before, .plus::after { position: absolute; inset: 50% 25% auto; height: 2px; margin-top: -1px; content: ""; background: var(--emeraude-fonce); border-radius: 2px; }
.plus::after { rotate: 90deg; }
details[open] .plus { rotate: 45deg; }
.reponse { padding: 0 1.4rem 1.2rem; color: var(--gris); }

/* --- Contact ------------------------------------------------------------------------------------ */
.contact { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: center; }
.carte-contact { padding: 2.2rem; border-radius: 22px; color: var(--texte); background: rgb(255 255 255 / 97%); box-shadow: 0 40px 80px -30px rgb(0 0 0 / 60%); }
.carte-contact h3 { margin-bottom: 0.6rem; font-size: 1.4rem; }
.carte-contact > p { margin-bottom: 1.6rem; color: var(--gris); }
.contact-email { margin-top: 1rem; font-size: 0.9rem; color: var(--gris); text-align: center; }

/* --- Pied --------------------------------------------------------------------------------------- */
.pied { padding: 4.5rem 0 2rem; color: var(--gris-nuit); background: var(--nuit); border-top: 1px solid rgb(255 255 255 / 6%); }
.pied-grille { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 2rem; }
.pied p { margin-top: 1rem; font-size: 0.9rem; }
.pied h4 { margin-bottom: 1rem; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; }
.pied ul { display: grid; gap: 0.6rem; }
.pied ul a { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--gris-nuit); text-decoration: none; font-size: 0.92rem; transition: color 0.25s; overflow-wrap: anywhere; }
.pied ul a svg { color: var(--menthe); }
.pied ul a:hover { color: var(--menthe); }
.pied-bas { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgb(255 255 255 / 8%); font-size: 0.82rem; }

/* --- Apparition au défilement ------------------------------------------------------------------- */
[data-reveler] { --attente: calc(var(--delai, 0) * 110ms); transition: opacity 0.9s var(--courbe) var(--attente), translate 0.9s var(--courbe) var(--attente); }
@media (scripting: enabled) {
  [data-reveler]:not(.visible) { opacity: 0; translate: 0 28px; }
  .accroche-texte > * { animation: apparait 0.9s var(--courbe) both; }
  .accroche-texte > :nth-child(2) { animation-delay: 0.1s; } .accroche-texte > :nth-child(3) { animation-delay: 0.2s; }
  .accroche-texte > :nth-child(4) { animation-delay: 0.3s; } .accroche-texte > :nth-child(5) { animation-delay: 0.4s; }
  .scene { animation: apparait 1.2s var(--courbe) 0.4s both; }
}
@keyframes apparait { from { opacity: 0; translate: 0 28px; } }

/* --- Points de rupture ---------------------------------------------------------------------------- */
@media (max-width: 1000px) {
  .mosaique { grid-template-columns: repeat(2, 1fr); grid-template-areas: "import import" "ticket tel" "barres tel" "langues tontine" "liste liste" "aussi aussi"; }
  .securite { grid-template-columns: 1fr; }
  .orbite-zone { max-width: 20rem; }
  .pied-grille { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .menu { display: none; }
  .menu-knopf { display: flex; }
  .entete.offen { background: var(--nuit); }
  .entete.offen .logo, .entete.offen .menu a { color: #fff; }
  .entete.offen .menu-knopf span { background: #fff; }
  .entete.offen .menu-knopf, .entete.offen .langues { border-color: rgb(255 255 255 / 18%); }
  .entete.offen .langues a { color: rgb(255 255 255 / 75%); }
  .entete.offen .langues a.actif { color: var(--nuit); background: #fff; }
  .entete.offen .menu { display: flex; position: absolute; inset: var(--entete) 0 auto; flex-direction: column; gap: 0; margin: 0; padding: 0.5rem 1rem 1.2rem; background: var(--nuit); box-shadow: 0 30px 40px -20px rgb(0 0 0 / 45%); max-height: calc(100dvh - var(--entete)); overflow-y: auto; }
  .entete.offen .menu a:not(.btn) { padding: 0.9rem 0.4rem; font-size: 1.05rem; border-bottom: 1px solid rgb(255 255 255 / 8%); }
  .entete.offen .menu a.menu-cta { display: inline-flex; align-self: flex-start; margin-top: 1.1rem; color: var(--nuit); }
  .entete-ligne { gap: 0.8rem; }
  .langues { margin-left: auto; }
  .visite { grid-template-columns: 1fr; }
  .visite-onglets { grid-template-columns: repeat(2, 1fr); }
  .contact { grid-template-columns: 1fr; }
  .chiffres-grille { grid-template-columns: repeat(2, 1fr); row-gap: 2rem; }
  .chiffre:nth-child(3) { border-left: 0; }
  .etapes { grid-template-columns: 1fr 1fr; }
  .etapes::before { display: none; }
  .calculateur { grid-template-columns: 1fr; }
  .calculateur output { text-align: left; }
  .telephone { width: 24%; }
}
@media (max-width: 700px) {
  .mosaique { grid-template-columns: 1fr; grid-template-areas: "import" "ticket" "tel" "barres" "langues" "tontine" "liste" "aussi"; }
  .engagements { grid-template-columns: 1fr; }
  .puce-1, .puce-3 { display: none; }
}
@media (max-width: 600px) {
  .section { padding: 4.5rem 0; }
  .visite-onglets, .etapes { grid-template-columns: 1fr; }
  .pied-grille { grid-template-columns: 1fr; }
  .chiffre { padding: 0 0.6rem; }
}
@media (scripting: enabled) and (max-width: 860px) {
  .entete-ligne > .btn-petit { display: none; }
}
@media (max-width: 480px) {
  .logo-nom { display: none; }
  .btn-petit { padding: 0.5rem 0.85rem; font-size: 0.8rem; }
  .btn-petit svg { display: none; }
  .accroche { padding-top: calc(var(--entete) + 3rem); }
}

/* --- Mouvement réduit ---------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveler]:not(.visible) { opacity: 1; translate: none; }
  .ticket-papier { transform: none; }
  .demo-langues span:first-child, .tampon { opacity: 1; translate: none; scale: 1; }
  .notification { translate: 0 0; }
  .anneau .anneau-valeur { stroke-dashoffset: 30.2; }
  .etapes::before { transform: scaleX(1); }
  .demo-barres i:nth-child(1) { transform: scaleY(0.55); } .demo-barres i:nth-child(2) { transform: scaleY(0.8); }
  .demo-barres i:nth-child(3) { transform: scaleY(0.4); } .demo-barres i:nth-child(4) { transform: scaleY(0.95); }
  .demo-barres i:nth-child(5) { transform: scaleY(0.7); }
  .scene-plateau { transform: none; }
  .demo-tontine i:nth-child(-n+6) { background: var(--emeraude); }
}

/* --- Ohne Skript: Endzustand der Vorführungen zeigen ---------------------------------------- */
@media (scripting: none) and (max-width: 860px) {
  .menu-knopf { display: none; }
  .entete { position: absolute; height: auto; }
  .entete-ligne { flex-wrap: wrap; padding: 0.8rem 0; }
  .menu { display: flex; order: 5; flex-wrap: wrap; gap: 0.4rem 1.1rem; width: 100%; }
}
@media (scripting: none) {
  .ticket-papier, .scene-plateau { transform: none; }
  .demo-langues span:first-child, .tampon { opacity: 1; translate: none; scale: 1; }
  .notification { translate: 0 0; }
  .etapes::before { transform: scaleX(1); }
}

/* --- Anfrageformular (2026-10-20) ------------------------------------------------------- */
.formular { display: grid; gap: 0.9rem; text-align: left; }
.formular-zeile { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.feld { display: grid; gap: 0.35rem; }
.feld label, .einwilligung { font-size: 0.85rem; font-weight: 600; color: var(--texte); }
.feld input, .feld select, .feld textarea { width: 100%; padding: 0.7rem 0.85rem; border: 1px solid var(--bordure); border-radius: 12px; font: inherit; font-size: 0.95rem; color: var(--texte); background: #fff; }
.feld textarea { resize: vertical; }
.feld input:focus, .feld select:focus, .feld textarea:focus { outline: none; border-color: var(--emeraude); box-shadow: 0 0 0 4px rgb(21 91 73 / 15%); }
.hat-fehler input, .hat-fehler select, .hat-fehler textarea { border-color: #bd4b44; }
.feld-fehler { color: #bd4b44; font-size: 0.8rem; font-weight: 500; }
.einwilligung { display: flex; gap: 0.6rem; align-items: flex-start; font-weight: 400; line-height: 1.45; }
.einwilligung input { width: 1.15rem; height: 1.15rem; margin-top: 0.15rem; accent-color: var(--emeraude); flex: none; }
.einwilligung.hat-fehler span { color: #bd4b44; }
.formular-fehler { margin-bottom: 0.8rem; padding: 0.7rem 0.9rem; border-radius: 12px; font-size: 0.9rem; color: #8f2f29; background: #fbecea; border: 1px solid #f0c8c4; }
.formular-hinweis { font-size: 0.8rem; color: var(--gris); text-align: center; }
.formular-danke { display: grid; justify-items: center; gap: 0.7rem; padding: 1.5rem 0; text-align: center; }
.formular-danke .pastille-icone { width: 3.5rem; height: 3.5rem; font-size: 1.6rem; }
.feld-falle { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 600px) { .formular-zeile { grid-template-columns: 1fr; } }

/* --- Leistungen (2026-10-21): was die App konkret macht -------------------------------- */
.leistungen-intro { max-width: 52rem; margin: -1.4rem auto 2.6rem; text-align: center; font-size: 1.08rem; color: var(--gris); }
.leistungen-fuer { display: inline-flex; align-items: flex-start; gap: 0.6rem; margin-top: 1.1rem; padding: 0.7rem 1.1rem; border-radius: 14px; font-size: 0.95rem; text-align: left; color: var(--texte); background: var(--emeraude-pale); }
.leistungen-fuer svg { margin-top: 0.25em; color: var(--emeraude-fonce); flex: none; }
.leistungen-grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.leistung { display: flex; flex-direction: column; gap: 0.8rem; padding: 1.6rem; border: 1px solid var(--bordure); border-radius: 22px; background: var(--fond); }
.leistung-bild { display: block; width: calc(100% + 1.6rem); max-width: none; height: auto; aspect-ratio: 16 / 10; margin: -0.8rem -0.8rem 0.4rem; object-fit: cover; object-position: left top; border: 1px solid var(--bordure); border-radius: 14px; box-shadow: 0 10px 28px rgb(16 40 33 / 10%); background: #fff; }
.leistung h3 { font-size: 1.15rem; }
.leistung ul { display: grid; gap: 0.55rem; }
.leistung li { display: flex; gap: 0.55rem; font-size: 0.92rem; line-height: 1.45; color: var(--gris); }
.leistung li svg { margin-top: 0.25em; color: var(--emeraude); flex: none; }
@media (max-width: 1000px) { .leistungen-grille { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .leistungen-grille { grid-template-columns: 1fr; } }
.symbole:has(img) { background: none; box-shadow: none; }
.symbole img { display: block; width: 100%; height: 100%; }

/* Paketvergleich (2026-10-23): aufklappbare Tabelle unter den Paketen, auf schmalen Bildschirmen seitlich scrollbar. */
.tarif-details { display: block; margin-top: 0.7rem; text-align: center; font-size: 0.85rem; font-weight: 600; color: var(--emeraude-fonce); }
.vergleich { margin: 2rem auto 0; max-width: 72rem; border: 1px solid #dfe5df; border-radius: 1rem; background: #fff; }
.vergleich summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.2rem; cursor: pointer; font-weight: 700; list-style: none; }
.vergleich summary::-webkit-details-marker { display: none; }
.vergleich .plus { background: #eef3ee; }
.vergleich-defilement { overflow-x: auto; padding: 0 1.2rem 1.2rem; }
.vergleich table { width: 100%; min-width: 40rem; border-collapse: collapse; font-size: 0.9rem; }
.vergleich th, .vergleich td { padding: 0.6rem 0.7rem; text-align: left; vertical-align: top; border-top: 1px solid #edf1ed; }
.vergleich thead th { border-top: 0; font-size: 0.95rem; }
.vergleich thead th.vergleich-empfohlen { color: var(--emeraude-fonce); }
.vergleich tbody th { font-weight: 600; color: var(--gris); white-space: nowrap; }
.vergleich td svg { width: 1rem; height: 1rem; vertical-align: -0.15em; color: var(--emeraude-fonce); }
.vergleich ul { margin: 0; padding: 0; list-style: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Kopfzeile: Knopf und Sprachwahl nie stauchen, auf mittleren Breiten enger setzen */
.entete-ligne > .btn-petit, .entete-ligne > .langues { flex-shrink: 0; }
@media (min-width: 861px) and (max-width: 1100px) {
  .entete-ligne { gap: 1rem; }
  .menu { gap: 1rem; }
  .menu a { font-size: 0.88rem; }
}
@media (min-width: 861px) and (max-width: 1000px) {
  .logo-nom { display: none; }
  .entete-ligne { gap: 0.75rem; }
  .menu { gap: 0.8rem; }
  .menu a { font-size: 0.85rem; }
}
@media (min-width: 861px) and (max-width: 940px) {
  .menu { gap: 0.6rem; }
  .entete-ligne > .btn-petit { padding: 0.5rem 0.85rem; font-size: 0.8rem; }
}
